Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
Gonzalo Odiard 7a3d23e2b6 Don't add a label on RadioToolButton when set icon_widget - Fixes #4875
When we use set_icon_widget(), GtkToolButton set a private property
contents_invalid = TRUE [1], and gtk_tool_button_construct_content [2]
is called. Then if the label widget not exist, a GtkLabel is added.
This is a problem for us, by example in the Clipboard buttons in the frame.
By adding a empty Gtk.Box instead of a label, we avoid the label creation.

But as this is a internal implementation of Gtk, can change in the future,
in fact the issue is not visible with Gtk < 3.16

This patch is based in a pr sent by Sam Parkinson

[1] https://github.com/GNOME/gtk/blob/master/gtk/gtktoolbutton.c#L1415
[2] https://github.com/GNOME/gtk/blob/master/gtk/gtktoolbutton.c#L357
2015-07-08 14:25:47 -03:00
bin sugar-activity-web: remove bash specific code 2015-05-29 12:17:41 +10:00
examples New invoker, TreeViewInvoker 2015-05-14 12:04:07 -03:00
m4 Add simple toolbars example 2009-07-10 04:07:10 +00:00
po Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0 need review). 2015-06-30 14:33:39 +00:00
src Don't add a label on RadioToolButton when set icon_widget - Fixes #4875 2015-07-08 14:25:47 -03:00
tests Implement mime.get_mime_parents using python 2014-03-08 15:34:23 +01:00
.gitignore Update .gitignore 2013-09-11 15:29:22 +02:00
AUTHORS
autogen.sh Modernize gettext setup 2014-03-30 11:54:48 +01:00
configure.ac Release 0.106.0 2015-07-06 07:46:32 -04: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 Add missing translations 2014-03-30 11:58:36 +01:00
README Test commit 2014-05-11 22:21:12 +02: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.