[PATCH] Fix Gtk errors about list store columns

David Shea dshea at redhat.com
Tue Oct 29 18:37:13 UTC 2013


The renderer for keyboard layouts was set to pull the foreground color
from column six of the store, but there's only one column, so Gtk was
spitting out "Gtk-CRITICAL: column < priv->n_columns" or something to
that effect.

The GtkCellRendererText editor in Glade is just a giant list of numbers,
so this was probably added by some misaimed scroll wheeling.
---
 pyanaconda/ui/gui/spokes/keyboard.glade | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/keyboard.glade b/pyanaconda/ui/gui/spokes/keyboard.glade
index e279b66..1b63f5d 100644
--- a/pyanaconda/ui/gui/spokes/keyboard.glade
+++ b/pyanaconda/ui/gui/spokes/keyboard.glade
@@ -348,7 +348,6 @@
                                       <object class="GtkCellRendererText" id="layoutRenderer"/>
                                       <attributes>
                                         <attribute name="text">0</attribute>
-                                        <attribute name="foreground-rgba">6</attribute>
                                       </attributes>
                                     </child>
                                   </object>
-- 
1.8.3.1



More information about the anaconda-patches mailing list