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 --- lib/widgets/ephy-notebook.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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