[Epiphany] So you like tabs?



Here's a patch that makes the tab header visible, even if you only have
one content window open. It queries the pref to see if you prefer tabs,
and if so, always has them visible, else, it does the exact same thing
it did before this patch.

Frank aka 'frb

-- 
Do not worry about which side your bread is buttered on: you eat BOTH
sides.
Index: lib/widgets/ephy-notebook.c
===================================================================
RCS file: /cvs/gnome/epiphany/lib/widgets/ephy-notebook.c,v
retrieving revision 1.4
diff -u -r1.4 ephy-notebook.c
--- lib/widgets/ephy-notebook.c	1 Apr 2003 11:55:37 -0000	1.4
+++ lib/widgets/ephy-notebook.c	9 Apr 2003 17:36:17 -0000
@@ -791,7 +791,7 @@
 
 	if (before_inserting) tabs_num--;
 
-	show_tabs = gtk_notebook_get_nth_page (GTK_NOTEBOOK (nb), tabs_num) > 0;
+	show_tabs = gtk_notebook_get_nth_page (GTK_NOTEBOOK (nb), tabs_num) > 0 || eel_gconf_get_boolean (CONF_TABS_TABBED);
 
 	gtk_notebook_set_show_tabs (GTK_NOTEBOOK (nb), show_tabs);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]