[dconf-editor] Give more space to PathEntry.



commit b81cdf9abda7d264a9a197d497cef5ed4ca65c6a
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Dec 20 21:18:18 2018 +0100

    Give more space to PathEntry.

 editor/adaptative-window.vala | 2 +-
 editor/pathentry.vala         | 2 +-
 editor/pathwidget.vala        | 4 ++--
 editor/registry-list.vala     | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/editor/adaptative-window.vala b/editor/adaptative-window.vala
index 72a1f3a..01315fd 100644
--- a/editor/adaptative-window.vala
+++ b/editor/adaptative-window.vala
@@ -31,7 +31,7 @@ private interface AdaptativeWidget : Object
        ┃ EXTRA ┃ QUITE ╿ USUAL
        ╿ _THIN │ _THIN │ _SIZE
        ╵       ╵       ╵
-       ╎     thin      ╎
+       ╎   quite thin  ╎
                               */
 
     internal enum WindowSize {
diff --git a/editor/pathentry.vala b/editor/pathentry.vala
index c35e568..6fe9d2e 100644
--- a/editor/pathentry.vala
+++ b/editor/pathentry.vala
@@ -34,7 +34,7 @@ private class PathEntry : Box, AdaptativeWidget
     private bool thin_window = false;
     private void set_window_size (AdaptativeWidget.WindowSize new_size)
     {
-        bool _thin_window = AdaptativeWidget.WindowSize.is_extra_thin (new_size);
+        bool _thin_window = AdaptativeWidget.WindowSize.is_quite_thin (new_size);
         if (thin_window == _thin_window)
             return;
         thin_window = _thin_window;
diff --git a/editor/pathwidget.vala b/editor/pathwidget.vala
index b6c1912..7bb8b81 100644
--- a/editor/pathwidget.vala
+++ b/editor/pathwidget.vala
@@ -37,12 +37,12 @@ private class PathWidget : Box, AdaptativeWidget
         search_button.icon = search_icon;
     }
 
-    private bool thin_window;
+    private bool thin_window = false;
     private void set_window_size (AdaptativeWidget.WindowSize new_size)
     {
         pathbar.set_window_size (new_size);
 
-        bool _thin_window = AdaptativeWidget.WindowSize.is_extra_thin (new_size);
+        bool _thin_window = AdaptativeWidget.WindowSize.is_quite_thin (new_size);
         if (thin_window != _thin_window)
         {
             thin_window = _thin_window;
diff --git a/editor/registry-list.vala b/editor/registry-list.vala
index c1cdbf0..644f04c 100644
--- a/editor/registry-list.vala
+++ b/editor/registry-list.vala
@@ -45,7 +45,7 @@ private abstract class RegistryList : Grid, BrowsableView, AdaptativeWidget
         adjustment = key_list_box.get_adjustment ();
     }
 
-    private bool _small_keys_list_rows;
+    private bool _small_keys_list_rows = false;
     [CCode (notify = false)] internal bool small_keys_list_rows
     {
         set


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