]> git.pld-linux.org Git - packages/epiphany.git/blame - epiphany-first-tab.patch
- release 20 (xulrunner 1.8.1.14)
[packages/epiphany.git] / epiphany-first-tab.patch
CommitLineData
57a9d900
MK
1diff -Nuard epiphany-1.0.orig/src/ephy-notebook.c epiphany-1.0/src/ephy-notebook.c
2--- epiphany-1.0.orig/src/ephy-notebook.c 2003-08-06 11:47:55.000000000 +0200
3+++ epiphany-1.0/src/ephy-notebook.c 2003-09-16 15:49:09.000000000 +0200
4@@ -696,8 +696,8 @@
5 static void
6 update_tabs_visibility (EphyNotebook *nb, gboolean before_inserting)
7 {
8- gboolean show_tabs;
9- guint num;
10+ gboolean show_tabs = FALSE;
11+ guint num = 0;
12
13 num = gtk_notebook_get_n_pages (GTK_NOTEBOOK (nb));
14
15@@ -705,6 +705,8 @@
16
17 show_tabs = (eel_gconf_get_boolean (CONF_TABS_TABBED) || num > 1) &&
18 nb->priv->show_tabs == TRUE;
19+
20+ if (num < 2) show_tabs = FALSE;
21
22 gtk_notebook_set_show_tabs (GTK_NOTEBOOK (nb), show_tabs);
23 }
This page took 0.046071 seconds and 4 git commands to generate.