aboutsummaryrefslogtreecommitdiffstats
path: root/epiphany-reduce-tab-width/epiphany/epiphany-3.24-reduce-tab-width.patch
blob: fd73d49a67e0dcfe30a0632476e797643b8a9928 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index c95f04f..42ef33b 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -37,7 +37,7 @@
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
 
-#define TAB_WIDTH_N_CHARS 15
+#define TAB_WIDTH_N_CHARS 5
 
 #define AFTER_ALL_TABS -1
 
@@ -705,12 +705,12 @@ build_tab_label (EphyNotebook *nb, EphyEmbed *embed)
   GtkWidget *box;
   EphyWebView *view;
 
-  box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
+  box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
   gtk_widget_show (box);
 
   /* set hbox spacing and label padding (see below) so that there's an
    * equal amount of space around the label */
-  hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
+  hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
   gtk_widget_show (hbox);
   gtk_widget_set_halign (hbox, GTK_ALIGN_CENTER);
   gtk_box_pack_start (GTK_BOX (box), hbox, TRUE, TRUE, 0);