[gtk] gtk-demo: Don't expand tabs



commit e7200061109e4f5964b28a7d460003d6b1017018
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Apr 2 21:32:14 2019 +0000

    gtk-demo: Don't expand tabs
    
    It is a little irritating to see super-wide
    tabs in demos which have just one extra file,
    such as "Fixed layout".

 demos/gtk-demo/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index acd4335111..dd9754d4bc 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -668,7 +668,7 @@ add_data_tab (const gchar *demoname)
       gtk_widget_show (label);
       gtk_notebook_append_page (GTK_NOTEBOOK (notebook), widget, label);
       g_object_set (gtk_notebook_get_page (GTK_NOTEBOOK (notebook), widget),
-                    "tab-expand", TRUE,
+                    "tab-expand", FALSE,
                     NULL);
 
       g_free (resource_name);


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