Sugar Learning Environment, Activity Toolkit, GTK 3.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
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
9 years ago
bin sugar-activity-web: remove bash specific code 9 years ago
examples New invoker, TreeViewInvoker 9 years ago
m4 Add simple toolbars example 15 years ago
po Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0 need review). 9 years ago
src Don't add a label on RadioToolButton when set icon_widget - Fixes #4875 9 years ago
tests Implement mime.get_mime_parents using python 10 years ago
.gitignore Update .gitignore 11 years ago
AUTHORS Add AUTHORS file 17 years ago
COPYING Make it distcheck. Fix license. 17 years ago
MAINTAINERS Add MAINTAINERS file 13 years ago
Makefile.am Add missing translations 10 years ago
README Test commit 10 years ago
autogen.sh Modernize gettext setup 10 years ago
configure.ac Release 0.106.0 9 years ago

README

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.