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

[PATCH rhel6-branch] Fix hiding the advanced button on the filter UI (#555769, #565425).



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.
---
 iw/filter_gui.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iw/filter_gui.py b/iw/filter_gui.py
index 93d21a5..7a21530 100644
--- a/iw/filter_gui.py
+++ b/iw/filter_gui.py
@@ -499,7 +499,7 @@ class FilterWindow(InstallWindow):
     def _show_buttons(self, *args, **kwargs):
         if self.anaconda.id.simpleFilter:
             self.buttonBox.hide()
-            self.buttonBox.unrealize()
+            self.buttonBox.set_no_show_all(True)
         else:
             self.buttonBox.show_all()
 
-- 
1.6.5.1


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