[Sugar-devel] [PATCH] Clipboard menu off screen fixed for long text strings(SL #2201)

Mukul Gupta mukul at seeta.in
Fri Oct 22 14:22:26 EDT 2010


Changing maximum text length to a suitable value so that it
fits into the screen
---
 src/jarabe/frame/clipboardmenu.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/jarabe/frame/clipboardmenu.py b/src/jarabe/frame/clipboardmenu.py
index b998110..1f5259e 100644
--- a/src/jarabe/frame/clipboardmenu.py
+++ b/src/jarabe/frame/clipboardmenu.py
@@ -38,7 +38,7 @@ from jarabe.model import bundleregistry
 class ClipboardMenu(Palette):
 
     def __init__(self, cb_object):
-        Palette.__init__(self, text_maxlen=100)
+        Palette.__init__(self, text_maxlen=80)
 
         self._cb_object = cb_object
 
-- 
1.7.0.4



More information about the Sugar-devel mailing list