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

[rhel6-branch] Make the advanced storage dialogs stay in the foreground.



Resolves: #671107
---
 iw/advanced_storage.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/iw/advanced_storage.py b/iw/advanced_storage.py
index 434786b..391a6f0 100644
--- a/iw/advanced_storage.py
+++ b/iw/advanced_storage.py
@@ -359,6 +359,9 @@ def addFcoeDrive(anaconda):
     sg.add_widget(dxml.get_widget("fcoeNicCombo"))
 
     while True:
+        # make sure the dialog pops into foreground in case this is the second
+        # time through the loop:
+        dialog.present()
         rc = dialog.run()
 
         if rc in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]:
@@ -415,6 +418,7 @@ def addZfcpDrive(anaconda):
         sg.add_widget(dxml.get_widget(w))
 
     while True:
+        dialog.present()
         rc = dialog.run()
         if rc != gtk.RESPONSE_APPLY:
             break
-- 
1.7.3.3


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