summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-08-04 10:56:53 -0400
committerChris Lumens <clumens@redhat.com>2008-08-04 15:48:09 -0400
commit0288ad4cdb14ccf576fc7df719862badc7f57702 (patch)
treeafdf196d0e812c3067ed9e85ce1e1e9050cae1ed
parent924b8fb1283e8c661ccebf2b909bbeff932bbf7b (diff)
downloadanaconda-0288ad4cdb14ccf576fc7df719862badc7f57702.tar.gz
anaconda-0288ad4cdb14ccf576fc7df719862badc7f57702.tar.xz
anaconda-0288ad4cdb14ccf576fc7df719862badc7f57702.zip
Fix a GTK warning that only appears with s-c-ks running from a shell (#431844).
-rw-r--r--iw/GroupSelector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/GroupSelector.py b/iw/GroupSelector.py
index ad3867a3b..d7f21dd8a 100644
--- a/iw/GroupSelector.py
+++ b/iw/GroupSelector.py
@@ -389,7 +389,7 @@ class GroupSelector:
[self.ayum.isGroupInstalled(grp),s,grp,pix])
tree = self.xml.get_widget("groupList")
- gobject.idle_add(lambda x: x.scroll_to_point(0, 0), tree)
+ gobject.idle_add(lambda x: x.flags() & gtk.REALIZED and x.scroll_to_point(0, 0), tree)
self.xml.get_widget("optionalLabel").set_text("")
self.xml.get_widget("detailsButton").set_sensitive(False)