diff options
author | Mike Fulbright <msf@redhat.com> | 2003-02-06 17:48:19 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-02-06 17:48:19 +0000 |
commit | 05ee64fb5a6aa8cc828f4ab0506cf0c77617561d (patch) | |
tree | c35b00432563ad59cc411f10504ecd4dc081b074 /iw | |
parent | a182794f29c6c74c39aac70675599b997286dd52 (diff) | |
download | anaconda-05ee64fb5a6aa8cc828f4ab0506cf0c77617561d.tar.gz anaconda-05ee64fb5a6aa8cc828f4ab0506cf0c77617561d.tar.xz anaconda-05ee64fb5a6aa8cc828f4ab0506cf0c77617561d.zip |
tweak button so it doesnt go off side of screen. DOES NOT CHANGE ENGLISH SCREENSHOT! :)
Diffstat (limited to 'iw')
-rw-r--r-- | iw/language_support_gui.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/iw/language_support_gui.py b/iw/language_support_gui.py index 17e7626ab..b91d42879 100644 --- a/iw/language_support_gui.py +++ b/iw/language_support_gui.py @@ -257,7 +257,14 @@ class LanguageSupportWindow (InstallWindow): a1 = gtk.Alignment (0.5, 0.5) a1.add (all_button) - default_button = gtk.Button (_("Select Default _Only")) + # this one tends to be too long + default_button = gtk.Button() + label = gui.MnemonicLabel(_("Select Default _Only")) + label.set_size_request(150,-1) + label.set_line_wrap(gtk.TRUE) + label.set_justify(gtk.JUSTIFY_CENTER) + label.set_mnemonic_widget(default_button) + default_button.add(label) default_button.set_size_request(160, -1) default_button.connect ('clicked', self.select_default) a2 = gtk.Alignment (0.5, 0.5) |