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

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

 



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@xxxxxxxxxx>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Honolulu, HI | UTC-10

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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux