Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
Gonzalo Odiard fe11a3aa23 Make icon_name api consistent between the different toolbuttons
As discused in the mailing list [1] the api to set the icon in sugar
ToolButton, RadioToolButton and ToggleToolButton is inconsistent,
and with the port to GTK+ 3 the differences are visible (SL #3849).

This patch changes the API of ToolButton, RadioToolButton and
ToggleToolButton to override the icon-name property and add an
Icon instance with the set_icon_widget method.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>

[1] http://lists.sugarlabs.org/archive/sugar-devel/2012-September/039624.html
2012-09-20 09:07:25 +02:00
bin Move the translation initialisation to an earlier stage, SL #3654 2012-06-05 23:45:26 +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.: 38 of 40 messages translated (0 fuzzy). 2012-08-19 17:21:20 +02:00
src Make icon_name api consistent between the different toolbuttons 2012-09-20 09:07:25 +02:00
tests Add testcase for icon badges - SL #3835 2012-09-06 18:15:02 +02: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 event-controller: Add separate library for event controllers 2012-09-16 12:10:30 +02: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.