[gimp/gimp-2-10] app: in the Preferences dialog, allow horizontal scrollbars in all tree-views



commit 49b12b58af99db3b4e0fea5cace36267a72e464c
Author: Ell <ell_se yahoo com>
Date:   Sat Feb 22 17:32:23 2020 +0200

    app: in the Preferences dialog, allow horizontal scrollbars in all tree-views
    
    Allow horizontal scrollbars in all the Preferences dialog tree-
    views, so that they don't limit the minimal width of the dialog (in
    particular, the UI- and icon-theme tree-views may contain
    arbitrarily-long paths).
    
    (cherry picked from commit d868247fd9ae9c0f03c2f63a26ffd011f97f849c)

 app/dialogs/preferences-dialog.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/dialogs/preferences-dialog.c b/app/dialogs/preferences-dialog.c
index c3758ba4e3..3c3fda1eba 100644
--- a/app/dialogs/preferences-dialog.c
+++ b/app/dialogs/preferences-dialog.c
@@ -1927,7 +1927,7 @@ prefs_dialog_new (Gimp       *gimp,
     gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                          GTK_SHADOW_IN);
     gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_win),
-                                    GTK_POLICY_NEVER,
+                                    GTK_POLICY_AUTOMATIC,
                                     GTK_POLICY_AUTOMATIC);
     gtk_box_pack_start (GTK_BOX (vbox2), scrolled_win, TRUE, TRUE, 0);
     gtk_widget_show (scrolled_win);
@@ -2028,7 +2028,7 @@ prefs_dialog_new (Gimp       *gimp,
     gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                          GTK_SHADOW_IN);
     gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_win),
-                                    GTK_POLICY_NEVER,
+                                    GTK_POLICY_AUTOMATIC,
                                     GTK_POLICY_AUTOMATIC);
     gtk_box_pack_start (GTK_BOX (vbox2), scrolled_win, TRUE, TRUE, 0);
     gtk_widget_show (scrolled_win);
@@ -3017,7 +3017,7 @@ prefs_dialog_new (Gimp       *gimp,
         gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                              GTK_SHADOW_IN);
         gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_win),
-                                        GTK_POLICY_NEVER,
+                                        GTK_POLICY_AUTOMATIC,
                                         GTK_POLICY_AUTOMATIC);
         gtk_box_pack_start (GTK_BOX (vbox2), scrolled_win, TRUE, TRUE, 0);
         gtk_widget_show (scrolled_win);


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