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 > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 08-18-2011, 08:35 AM
Martin Gracik
 
Default Focus many partition dialogs after error (#679810)

---
iw/lvm_dialog_gui.py | 5 +++++
iw/partition_dialog_gui.py | 2 ++
iw/raid_dialog_gui.py | 3 +++
3 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index 29c3d81..4ca2bae 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -603,6 +603,7 @@ class VolumeGroupEditor:
self.intf.messageWindow(_("Mount Point Error"),
msg,
custom_icon="error")
+ dialog.present()
continue

# validate logical volume name
@@ -612,6 +613,7 @@ class VolumeGroupEditor:
if err:
self.intf.messageWindow(_("Illegal Logical Volume Name"),
err, custom_icon="error")
+ dialog.present()
continue

# check that the name is not already in use
@@ -629,6 +631,7 @@ class VolumeGroupEditor:
_("The logical volume name "%s" is "
"already in use. Please pick "
"another.") % (lvname,), custom_icon="error")
+ dialog.present()
continue

# test mount point
@@ -987,6 +990,7 @@ class VolumeGroupEditor:
if err:
self.intf.messageWindow(_("Invalid Volume Group Name"), err,
custom_icon="error")
+ self.dialog.present()
continue

origvname = self.vg.name
@@ -999,6 +1003,7 @@ class VolumeGroupEditor:
"already in use. Please pick "
"another." % (volname,)),
custom_icon="error")
+ self.dialog.present()
continue

# get physical extent
diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
index dba78b3..2bf053a 100644
--- a/iw/partition_dialog_gui.py
+++ b/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:
diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py
index 4c76c97..2e2cf9f 100644
--- a/iw/raid_dialog_gui.py
+++ b/iw/raid_dialog_gui.py
@@ -171,6 +171,7 @@ class RaidEditor:
self.intf.messageWindow(_("Mount Point Error"),
msg,
custom_icon="error")
+ self.dialog.present()
continue

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

if not self.origrequest.exists:
@@ -217,6 +219,7 @@ class RaidEditor:
except ValueError, e:
self.intf.messageWindow(_("Error"), str(e),
custom_icon="error")
+ self.dialog.present()
continue

# we must destroy luks leaf before original raid request
--
1.7.3.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 08-18-2011, 09:20 AM
Ales Kozumplik
 
Default Focus many partition dialogs after error (#679810)

On 08/18/2011 10:35 AM, Martin Gracik wrote:

---
iw/lvm_dialog_gui.py | 5 +++++
iw/partition_dialog_gui.py | 2 ++
iw/raid_dialog_gui.py | 3 +++
3 files changed, 10 insertions(+), 0 deletions(-)



Ack.

Ales

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

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