summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authordlehman <dlehman>2007-07-11 16:50:44 +0000
committerdlehman <dlehman>2007-07-11 16:50:44 +0000
commit074f565136ede16609c95a8899e895cf0a991823 (patch)
tree93c47d26ae7777bb938f42dc228a3a90d8cc0145 /gui.py
parent043f8b8e71f69d142336889f12b28897b7e85b81 (diff)
downloadanaconda-074f565136ede16609c95a8899e895cf0a991823.tar.gz
anaconda-074f565136ede16609c95a8899e895cf0a991823.tar.xz
anaconda-074f565136ede16609c95a8899e895cf0a991823.zip
* urlinstall.py (UrlInstallMethod.filesDone): don't log errors when
unmounting /mnt/source since it wasn't necessarily supposed to be mounted in the first place (#223059) * gui.py (InstallKeyWindow): handle F12 shortcut key (#210673) * iutil.py (makeDriveDeviceNodes): create device nodes for tape drives (#218816) * isys/isys.py (tapeDriveList): new function to list tape drives * isys/isys.py (driveDict): probe for tape drives, too
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index f464d71e9..c259be980 100755
--- a/gui.py
+++ b/gui.py
@@ -625,8 +625,14 @@ class InstallKeyWindow:
else:
self.entry.grab_focus()
+ self.win.connect("key-release-event", self.keyRelease)
addFrame(self.win, title=keyName)
+ def keyRelease(self, window, event):
+ # XXX hack: remove this, too, when the accelerators work again
+ if event.keyval == gtk.keysyms.F12:
+ window.response(1)
+
def run(self):
self.win.show()
self.rc = self.win.run()