Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
Manuel Kaufmann b729680568 Truncate labels on Palettes SL #4164
This was lost when PaletteMenuItem was added in
2d0ac2a952 of sugar source code.

That class does not handle the text_maxlen argument (default to 60). I
used this argument to set the Gtk.Label's size:
label.set_max_width_chars and use MIDDLE for its EllipSizeMode as
sugar3.graphics.palette.Palette does for its title and subtitle.

With these settings, the title of the palette and its items share the
same behaviour and are rendered with the same width.

Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
2013-01-03 13:37:11 -03:00
bin Set default python encoding to utf-8 2012-09-26 13:29:07 +02:00
examples Add examples for Alert, Animator, ComboBox, IconEntry and Notebook 2011-12-13 17:19:53 -03:00
m4 Add simple toolbars example 2009-07-10 04:07:10 +00:00
po Commit from Sugar Labs: Translation System by user cjl.: 31 of 40 messages translated (0 fuzzy). 2012-11-25 01:01:47 +02:00
src Truncate labels on Palettes SL #4164 2013-01-03 13:37:11 -03:00
tests Add Gtk.ProgressBar testcase. 2012-12-03 12:52:32 -03:00
.gitignore Switch sugarext to be an introspectable library 2011-12-13 17:19:52 -03:00
AUTHORS Add AUTHORS file 2007-09-25 15:49:52 +02:00
autogen.sh Allow to build outside source directory 2012-08-07 18:55:38 +02:00
configure.ac Release 0.98.3 2012-12-21 15:49:44 +01:00
COPYING Make it distcheck. Fix license. 2008-02-06 16:43:10 +01:00
MAINTAINERS Add MAINTAINERS file 2011-12-13 17:37:50 -03:00
Makefile.am sugar-activity: import and make independent of sugar-toolkit GTK versions 2011-12-13 17:35:30 -03:00
README Release 0.79.0 2008-02-06 17:03:51 +01:00

Sugar is the core of the OLPC Human Interface. The toolkit provides
a set of widgets to build HIG compliant applications and interfaces
to interact with system services like presence and the datastore.