FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 01-19-2012, 11:44 AM
Vratislav Podzimek
 
Default Use lightbox for the Add Layout dialog

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 08:25 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org