[Bugs] #610 NORM: Journal Palette does not manage too many characters for a title correctly
SugarLabs Bugs
bugtracker-noreply at sugarlabs.org
Wed Apr 1 12:13:38 EDT 2009
#610: Journal Palette does not manage too many characters for a title correctly
-----------------------------------------------+----------------------------
Reporter: IwikiwI | Owner: tomeu
Type: enhancement | Status: new
Priority: Normal | Milestone: 0.84
Component: journal | Version: Unspecified
Severity: Blocker | Resolution:
Keywords: right click journal sugar-love | Distribution: Fedora
Status_field: Assigned |
-----------------------------------------------+----------------------------
Comment(by tomeu):
I don't see an unintrusive way to do this properly in 0.84, so unless
someone speaks, I'm just going to do the following for 0.84:
{{{
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
}}}
--
Ticket URL: <http://dev.sugarlabs.org/ticket/610#comment:8>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list