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/palette.py | |
parent | 8bbdb990288170e77622b3c1d641721fc4d1d973 (diff) |
Limit length of labels in palettes to 60 chars by default #610
Diffstat (limited to 'src/sugar/graphics/palette.py')
-rw-r--r-- | src/sugar/graphics/palette.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/graphics/palette.py b/src/sugar/graphics/palette.py index 919721b..1c668b6 100644 --- a/src/sugar/graphics/palette.py +++ b/src/sugar/graphics/palette.py @@ -145,7 +145,7 @@ class Palette(gtk.Window): # DEPRECATED: label is passed with the primary-text property, accel_path # is set via the invoker property, and menu_after_content is not used def __init__(self, label=None, accel_path=None, menu_after_content=False, - text_maxlen=0, **kwargs): + text_maxlen=60, **kwargs): self.palette_state = self.PRIMARY |