[master][PATCH] Define newLayoutStore before it is used by the filter

Vratislav Podzimek vpodzime at redhat.com
Wed Oct 30 12:25:54 UTC 2013


Otherwise filter is based on an empty model and shows nothing.
---
 pyanaconda/ui/gui/spokes/keyboard.glade | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/keyboard.glade b/pyanaconda/ui/gui/spokes/keyboard.glade
index 1b63f5d..2fb391d 100644
--- a/pyanaconda/ui/gui/spokes/keyboard.glade
+++ b/pyanaconda/ui/gui/spokes/keyboard.glade
@@ -9,6 +9,12 @@
       <column type="gchararray"/>
     </columns>
   </object>
+  <object class="GtkListStore" id="newLayoutStore">
+    <columns>
+      <!-- column-name name -->
+      <column type="gchararray"/>
+    </columns>
+  </object>
   <object class="GtkTreeModelFilter" id="newLayoutStoreFilter">
     <property name="child_model">newLayoutStore</property>
   </object>
@@ -192,12 +198,6 @@
     </action-widgets>
   </object>
   <object class="GtkTextBuffer" id="layoutTestBuffer"/>
-  <object class="GtkListStore" id="newLayoutStore">
-    <columns>
-      <!-- column-name name -->
-      <column type="gchararray"/>
-    </columns>
-  </object>
   <object class="AnacondaSpokeWindow" id="keyboardWindow">
     <property name="startup_id">filler</property>
     <property name="can_focus">False</property>
-- 
1.7.11.7



More information about the anaconda-patches mailing list