From 9b184b29ecf975bdd48166599349e8e9a314d2e3 Mon Sep 17 00:00:00 2001 From: "Frank Belew (Myth)" Date: Mon, 14 Apr 2003 14:11:42 +0000 Subject: If user prefers tabs (CONF_TABS_TABBED), always show tab bar * lib/widgets/ephy-notebook.c (update_tabs_visibility): If user prefers tabs (CONF_TABS_TABBED), always show tab bar --- ChangeLog | 6 ++++++ lib/widgets/ephy-notebook.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0d0293e08..a457630d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-04-14 Frank Belew + + * lib/widgets/ephy-notebook.c (update_tabs_visibility): + + If user prefers tabs (CONF_TABS_TABBED), always show tab bar + 2003-04-13 Marco Pesenti Gritti * data/bme.desktop.in: diff --git a/lib/widgets/ephy-notebook.c b/lib/widgets/ephy-notebook.c index b2ee52b57..6ce34bb50 100644 --- a/lib/widgets/ephy-notebook.c +++ b/lib/widgets/ephy-notebook.c @@ -791,7 +791,8 @@ update_tabs_visibility (EphyNotebook *nb, gboolean before_inserting) if (before_inserting) tabs_num--; - show_tabs = gtk_notebook_get_nth_page (GTK_NOTEBOOK (nb), tabs_num) > 0; + show_tabs = eel_gconf_get_boolean (CONF_TABS_TABBED) || + gtk_notebook_get_nth_page (GTK_NOTEBOOK (nb), tabs_num) > 0; gtk_notebook_set_show_tabs (GTK_NOTEBOOK (nb), show_tabs); } -- cgit v1.2.3