[PATCH 2/4] Use lightbox for the Add Layout dialog

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

 



---
 pyanaconda/ui/gui/spokes/keyboard.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/keyboard.py b/pyanaconda/ui/gui/spokes/keyboard.py
index a88ca62..9852b8f 100644
--- a/pyanaconda/ui/gui/spokes/keyboard.py
+++ b/pyanaconda/ui/gui/spokes/keyboard.py
@@ -23,7 +23,7 @@ import gettext
 _ = lambda x: gettext.ldgettext("anaconda", x)
 N_ = lambda x: x
 
-from gi.repository import Gtk
+from gi.repository import Gtk, AnacondaWidgets
 
 from pyanaconda.ui.gui import UIObject
 from pyanaconda.ui.gui.spokes import NormalSpoke
@@ -148,7 +148,10 @@ class KeyboardSpoke(NormalSpoke):
         dialog = AddLayoutDialog(self.data)
         dialog.setup()
         dialog.populate()
+        lightbox = AnacondaWidgets.lb_show_over(self.window)
+        dialog.window.set_transient_for(lightbox)
         response = dialog.run()
+        lightbox.destroy()
         if response == 1:
             found = False
             itr = self._store.get_iter_first()
-- 
1.7.4.4

_______________________________________________
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