diff options
author | Mike Fulbright <msf@redhat.com> | 2002-07-08 19:58:04 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-07-08 19:58:04 +0000 |
commit | 2da1310078662e0a58af3aa5cfc6de874ae587a6 (patch) | |
tree | 83f66e14d55b522cf757b873d2e540e7cd8e64c6 /iw/xconfig_gui.py | |
parent | 9e6d30ec95f70a5f25776615522e563949a1fd78 (diff) | |
download | anaconda-2da1310078662e0a58af3aa5cfc6de874ae587a6.tar.gz anaconda-2da1310078662e0a58af3aa5cfc6de874ae587a6.tar.xz anaconda-2da1310078662e0a58af3aa5cfc6de874ae587a6.zip |
added mnemonic
Diffstat (limited to 'iw/xconfig_gui.py')
-rw-r--r-- | iw/xconfig_gui.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py index a357fc380..04569a067 100644 --- a/iw/xconfig_gui.py +++ b/iw/xconfig_gui.py @@ -204,7 +204,8 @@ class XCustomWindow (InstallWindow): hbox3 = gtk.HBox (gtk.FALSE, 5) hbox4 = gtk.HBox (gtk.FALSE, 5) - frame1 = gtk.Frame (_("Color Depth:")) + frame1 = gtk.Frame (_("_Color Depth:")) + frame1.get_label_widget().set_property("use-underline", gtk.TRUE) frame1.set_shadow_type (gtk.SHADOW_NONE) frame1.set_border_width (10) hbox1.pack_start(frame1, gtk.TRUE, gtk.FALSE, 0) @@ -218,7 +219,9 @@ class XCustomWindow (InstallWindow): self.depth_combo.set_popdown_strings (self.avail_depths) frame1.add (self.depth_combo) - frame2 = gtk.Frame (_("Screen Resolution:")) + frame1.get_label_widget().set_mnemonic_widget(self.depth_combo.entry) + frame2 = gtk.Frame (_("_Screen Resolution:")) + frame2.get_label_widget().set_property("use-underline", gtk.TRUE) frame2.set_shadow_type (gtk.SHADOW_NONE) frame2.set_border_width (10) hbox1.pack_start (frame2, gtk.TRUE, gtk.FALSE, 2) @@ -270,6 +273,7 @@ class XCustomWindow (InstallWindow): self.res_combo.set_popdown_strings (available[self.selectedDepth]) frame2.add (self.res_combo) + frame2.get_label_widget().set_mnemonic_widget(self.res_combo.entry) # apply current configuration to UI count = 0 @@ -303,7 +307,7 @@ class XCustomWindow (InstallWindow): if not self.cantprobe: test = gtk.Alignment (.9, 0, 0, 0) - button = gtk.Button (_(" Test _Setting ")) + button = gtk.Button (_(" _Test Setting ")) button.connect ("clicked", self.testPressed) test.add (button) self.box.pack_start (test, gtk.FALSE) @@ -381,7 +385,7 @@ class XCustomWindow (InstallWindow): self.hbox5 = gtk.HBox (gtk.TRUE, 2) frame4.add (self.hbox5) - self.text = gtk.RadioButton (None, (_("_Text"))) + self.text = gtk.RadioButton (None, (_("T_ext"))) self.graphical = gtk.RadioButton (self.text, (_("_Graphical"))) self.runLevel = self.desktop.getDefaultRunLevel() |