summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-07-02 21:34:55 +0000
committerJeremy Katz <katzj@redhat.com>2002-07-02 21:34:55 +0000
commit7f9e807865d0f850caaeef36f3de10c0b9a6de39 (patch)
treef4edef4cc217ca6e153c27f73bd5b35a3c4b35ec /gui.py
parent1c0e972267dc682c79d86f262b7bbf2fa8590d14 (diff)
downloadanaconda-7f9e807865d0f850caaeef36f3de10c0b9a6de39.tar.gz
anaconda-7f9e807865d0f850caaeef36f3de10c0b9a6de39.tar.xz
anaconda-7f9e807865d0f850caaeef36f3de10c0b9a6de39.zip
add a MnemonicLabel helper class
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index 8ebe1c9c6..57a283c67 100755
--- a/gui.py
+++ b/gui.py
@@ -160,6 +160,11 @@ def growToParent(widget, rect, growTo=None):
else:
widget.ignoreEvents = 0
+class MnemonicLabel(gtk.Label):
+ def __init__(self, text=""):
+ gtk.Label.__init__(self, "")
+ self.set_text_with_mnemonic(text)
+
class WrappingLabel(gtk.Label):
def __init__(self, label=""):
gtk.Label.__init__(self, label)