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:03:42 (GMT) |
commit | fbad85cde9b2ae0d2c66d66af6b80f1e76846677 (patch) | |
tree | 748b35643f65c78244cb0968e80379710b00ac17 /src/sugar/graphics/menuitem.py | |
parent | 5f3040ecd85c0dae5bbfc885c93c85b5c0461b1e (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 |