Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Focus the dialog after a message window is closed (http://www.linux-archive.org/debian-user/467799-focus-dialog-after-message-window-closed.html)

Martin Gracik 12-20-2010 03:48 PM

Focus the dialog after a message window is closed
 
---
pyanaconda/iw/partition_dialog_gui.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/iw/partition_dialog_gui.py b/pyanaconda/iw/partition_dialog_gui.py
index 26abd02..bfffd51 100644
--- a/pyanaconda/iw/partition_dialog_gui.py
+++ b/pyanaconda/iw/partition_dialog_gui.py
@@ -118,6 +118,7 @@ class PartitionEditor:
self.intf.messageWindow(_("Mount Point Error"),
msg,
custom_icon="error")
+ self.dialog.present()
continue

used = False
@@ -135,6 +136,7 @@ class PartitionEditor:
"use. Please pick another.") %
(mountpoint,),
custom_icon="error")
+ self.dialog.present()
continue

if not self.origrequest.exists:
--
1.7.3.2

_______________________________________________
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 09:13 AM.

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