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/palette.py | |
parent | 5f3040ecd85c0dae5bbfc885c93c85b5c0461b1e (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 |