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

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

 



Ack.

On 02/16/2010 08:45 PM, Chris Lumens wrote:
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()


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux