Re: [PATCH] Show normal cursor during passphrase entry (#496534)

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

 



Looks ok,

Regards,

Hans


On 04/21/2009 12:29 PM, Martin Sivak wrote:
---
  gui.py |    7 +++++++
  1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/gui.py b/gui.py
index cc2c527..2c5fa9a 100755
--- a/gui.py
+++ b/gui.py
@@ -697,6 +697,10 @@ class PassphraseEntryWindow:
          self.win.show()
          self.passphraseLabel.set_text(self.txt)
          self.passphraseEntry.grab_focus()
+
+        busycursor = getBusyCursorStatus()
+        setCursorToNormal()
+
          rc = self.win.run()
          passphrase = None
          isglobal = False
@@ -704,6 +708,9 @@ class PassphraseEntryWindow:
              passphrase = self.passphraseEntry.get_text()
              isglobal = self.globalcheckbutton.get_active()

+        if busycursor:
+            setCursorToBusy()
+
          self.rc = (passphrase, isglobal)
          return self.rc


_______________________________________________
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