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

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



Ack.

On Fri, 21 Jan 2011, Ales Kozumplik wrote:

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


--
David Cantrell <dcantrell redhat com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Honolulu, HI | UTC-10


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