[dconf-editor] Grid doesn't play well with the 'linked' CSS class.



commit 23317f8675422e289bce1e456b69f50de65dd22f
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Wed Sep 14 10:46:26 2016 +0200

    Grid doesn't play well with the 'linked' CSS class.

 editor/dconf-view.vala  |    4 ++--
 editor/registry-view.ui |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/editor/dconf-view.vala b/editor/dconf-view.vala
index 9180964..092f7f4 100644
--- a/editor/dconf-view.vala
+++ b/editor/dconf-view.vala
@@ -190,7 +190,7 @@ private class KeyEditorChildNullableBool : MenuButton, KeyEditorChild
     }
 }
 
-private class KeyEditorChildBool : Grid, KeyEditorChild // might be managed by action, but can't find a way 
to ensure one-and-only-one button is active
+private class KeyEditorChildBool : Box, KeyEditorChild // might be managed by action, but can't find a way 
to ensure one-and-only-one button is active  // https://bugzilla.gnome.org/show_bug.cgi?id=769876
 {
     private ToggleButton button_true;
 
@@ -200,7 +200,7 @@ private class KeyEditorChildBool : Grid, KeyEditorChild // might be managed by a
         this.hexpand = true;
         this.orientation = Orientation.HORIZONTAL;
         this.halign = Align.START;
-        this.column_homogeneous = true;
+        this.homogeneous = true;
         this.width_request = 100;
         ((StyleContext) this.get_style_context ()).add_class ("linked");
 
diff --git a/editor/registry-view.ui b/editor/registry-view.ui
index 98b77bd..5e37f21 100644
--- a/editor/registry-view.ui
+++ b/editor/registry-view.ui
@@ -19,7 +19,7 @@
         <property name="search-mode-enabled">False</property>
         <property name="show-close-button">False</property>
         <child>
-          <object class="GtkGrid">
+          <object class="GtkBox"> <!-- https://bugzilla.gnome.org/show_bug.cgi?id=769876 -->
             <property name="visible">True</property>
             <property name="orientation">horizontal</property>
             <style>


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