summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2010-02-16 14:34:55 -0500
committerChris Lumens <clumens@redhat.com>2010-02-16 16:31:04 -0500
commit4425bb705fd2f9d7bbd31734e7595b531b7bae13 (patch)
treed93547976ca71233147a205660ab4edbc53e2186
parentab9e0abcc89108068d3ef2c547e0f4661f18ee51 (diff)
downloadanaconda-4425bb705fd2f9d7bbd31734e7595b531b7bae13.tar.gz
anaconda-4425bb705fd2f9d7bbd31734e7595b531b7bae13.tar.xz
anaconda-4425bb705fd2f9d7bbd31734e7595b531b7bae13.zip
Fix hiding the advanced button on the filter UI (#555769, #565425, #560016).
Unrealizing the button box creates a mystery hidden window that causes two problems. First, it steals the focus so keyboard controls don't work on the filtering UI. Second, it causes a lot of gtk warnings on tty1. Instead of unrealizing, the fix is to just hide and disallow show_all working on it later.
-rw-r--r--iw/filter_gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/filter_gui.py b/iw/filter_gui.py
index 672f0528c..8b23acb99 100644
--- a/iw/filter_gui.py
+++ b/iw/filter_gui.py
@@ -497,7 +497,7 @@ class FilterWindow(InstallWindow):
def _show_buttons(self, *args, **kwargs):
if self.anaconda.simpleFilter:
self.buttonBox.hide()
- self.buttonBox.unrealize()
+ self.buttonBox.set_no_show_all(True)
else:
self.buttonBox.show_all()