[PATCH 3/4] Adapt to new way lightboxing works in anaconda

Vratislav Podzimek vpodzime at redhat.com
Tue Jan 6 16:29:29 UTC 2015


Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 org_fedora_hello_world/gui/spokes/hello_world.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org_fedora_hello_world/gui/spokes/hello_world.py b/org_fedora_hello_world/gui/spokes/hello_world.py
index 44ebac9..a641697 100644
--- a/org_fedora_hello_world/gui/spokes/hello_world.py
+++ b/org_fedora_hello_world/gui/spokes/hello_world.py
@@ -215,7 +215,7 @@ class HelloWorldSpoke(FirstbootSpokeMixIn, NormalSpoke):
         dialog = HelloWorldDialog(self.data)
 
         # show dialog above the lightbox
-        with enlightbox(self.window, dialog.window):
+        with self.main_window.enlightbox(dialog.window):
             dialog.run()
 
 class HelloWorldDialog(GUIObject):
-- 
2.1.0



More information about the anaconda-patches mailing list