Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Development (http://www.linux-archive.org/archlinux-development/)
-   -   fix: mnemonics don't work in the welcome screen until user clicks. (http://www.linux-archive.org/archlinux-development/352555-fix-mnemonics-dont-work-welcome-screen-until-user-clicks.html)

Ales Kozumplik 04-06-2010 03:30 PM

fix: mnemonics don't work in the welcome screen until user clicks.
 
---
gui.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/gui.py b/gui.py
index 8814b5d..c11f971 100755
--- a/gui.py
+++ b/gui.py
@@ -1457,6 +1457,9 @@ class InstallControlWindow:
self.connectSignals()
self.setScreen()
self.window.show()
+ # calling present() will focus the window in the winodw manager so
+ # the mnemonics work without additional clicking
+ self.window.present()

def busyCursorPush(self):
rootPushBusyCursor()
--
1.6.6

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


All times are GMT. The time now is 10:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.