diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-04-06 17:03:42 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-04-06 17:06:44 (GMT) |
commit | b219dff0cff67cf69e8c37f3a6a3f540c25e270e (patch) | |
tree | 39dbf08bad6f14fb9e2918f8d92a17acf4381f9f /src/sugar/graphics/menuitem.py | |
parent | 8bbdb990288170e77622b3c1d641721fc4d1d973 (diff) |
Limit length of labels in palettes to 60 chars by default #610
Diffstat (limited to 'src/sugar/graphics/menuitem.py')
-rw-r--r-- | src/sugar/graphics/menuitem.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/graphics/menuitem.py b/src/sugar/graphics/menuitem.py index a357d78..7af8a6a 100644 --- a/src/sugar/graphics/menuitem.py +++ b/src/sugar/graphics/menuitem.py @@ -28,7 +28,7 @@ import gtk from sugar.graphics.icon import Icon class MenuItem(gtk.ImageMenuItem): - def __init__(self, text_label=None, icon_name=None, text_maxlen=0, + def __init__(self, text_label=None, icon_name=None, text_maxlen=60, xo_color=None, file_name=None): gobject.GObject.__init__(self) self._accelerator = None |