diff options
author | Frank Belew (Myth) <frb@src.gnome.org> | 2003-04-14 22:11:42 +0800 |
---|---|---|
committer | Frank Belew (Myth) <frb@src.gnome.org> | 2003-04-14 22:11:42 +0800 |
commit | 9b184b29ecf975bdd48166599349e8e9a314d2e3 (patch) | |
tree | da600197ea5159f9e036d64e8d4ed4a871792923 /lib | |
parent | 9c982398b8e889b2b1228b352e89f3c50b5c4360 (diff) | |
download | gsoc2013-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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/widgets/ephy-notebook.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |