summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorbfox <bfox>2001-07-02 18:08:55 +0000
committerbfox <bfox>2001-07-02 18:08:55 +0000
commit811aa8d3e16439b49191ca91aace9d5fd10f3b47 (patch)
tree4bff59d1cd7c774c798a361faee89ba11c51f1c2 /textw
parent7fdbba7334a99ba0cd4ba3fc1c5c282db9c7c346 (diff)
downloadanaconda-811aa8d3e16439b49191ca91aace9d5fd10f3b47.tar.gz
anaconda-811aa8d3e16439b49191ca91aace9d5fd10f3b47.tar.xz
anaconda-811aa8d3e16439b49191ca91aace9d5fd10f3b47.zip
change hot key to F2 instead of space bar
Diffstat (limited to 'textw')
-rw-r--r--textw/bootloader_text.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/textw/bootloader_text.py b/textw/bootloader_text.py
index d362fcff7..1518b7880 100644
--- a/textw/bootloader_text.py
+++ b/textw/bootloader_text.py
@@ -209,7 +209,9 @@ class BootloaderImagesWindow:
g.add(listboxLabel, 0, 1, padding = (0, 1, 0, 0), anchorLeft = 1)
g.add(listbox, 0, 2, padding = (0, 0, 0, 1), anchorLeft = 1)
g.add(buttons, 0, 3, growx = 1)
-
+ g.addHotKey("F2")
+# g.addHotKey(" ")
+
rootdev = fsset.getEntryByMountPoint("/").device.getDevice()
result = None
@@ -228,8 +230,8 @@ class BootloaderImagesWindow:
default = ""
listbox.replace(self.formatDevice(type, label, item, default), item)
listbox.setCurrent(item)
-# elif result == "F2":
- elif result == " ":
+ elif result == "F2":
+# elif result == " ":
item = listbox.current()
(label, type) = images[item]
if (label):