aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Belew (Myth) <frb@src.gnome.org>2003-04-14 22:11:42 +0800
committerFrank Belew (Myth) <frb@src.gnome.org>2003-04-14 22:11:42 +0800
commit9b184b29ecf975bdd48166599349e8e9a314d2e3 (patch)
treeda600197ea5159f9e036d64e8d4ed4a871792923
parent9c982398b8e889b2b1228b352e89f3c50b5c4360 (diff)
downloadgsoc2013-epiphany-9b184b29ecf975bdd48166599349e8e9a314d2e3.tar
gsoc2013-epiphany-9b184b29ecf975bdd48166599349e8e9a314d2e3.tar.gz
gsoc2013-epiphany-9b184b29ecf975bdd48166599349e8e9a314d2e3.tar.bz2
gsoc2013-epiphany-9b184b29ecf975bdd48166599349e8e9a314d2e3.tar.lz
gsoc2013-epiphany-9b184b29ecf975bdd48166599349e8e9a314d2e3.tar.xz
gsoc2013-epiphany-9b184b29ecf975bdd48166599349e8e9a314d2e3.tar.zst
gsoc2013-epiphany-9b184b29ecf975bdd48166599349e8e9a314d2e3.zip
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
-rw-r--r--ChangeLog6
-rw-r--r--lib/widgets/ephy-notebook.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d0293e08..a457630d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-04-14 Frank Belew <frb@ximian.com>
+
+ * 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 <marco@it.gnome.org>
* 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);
}