[PATCH] Use python-meh's MainExceptionWindow's main_window property
Vratislav Podzimek
vpodzime at redhat.com
Mon Aug 20 13:44:46 UTC 2012
---
pyanaconda/ui/gui/__init__.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py
index 40787c1..371496c 100644
--- a/pyanaconda/ui/gui/__init__.py
+++ b/pyanaconda/ui/gui/__init__.py
@@ -149,9 +149,7 @@ class GraphicalUserInterface(UserInterface):
# exception may appear before self._actions gets populated
if len(self._actions) > 0:
lightbox = AnacondaWidgets.lb_show_over(self._actions[0].window)
-
- # TODO p-m: add window property to the MainExceptionWindow class
- exc_window._main_window.set_transient_for(lightbox)
+ exc_window.main_window.set_transient_for(lightbox)
# without WindowGroup, python-meh's window is insensitive if it appears
# above a spoke (Gtk.Window running its own Gtk.main loop)
--
1.7.11.2
More information about the anaconda-patches
mailing list