Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/graphics
Commit message (Collapse)AuthorAgeFilesLines
* ToggleToolbutton: do hide the tooltip when clicked or touchedSimon Schampijer2013-02-151-0/+4
| | | | | | | | | This is the same behaviour as for the RadioToolButton and the ToolButton. See 344c72a3beb599b76f3ac806c34b7727a258530b where we did the same for the RadioToolbutton. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* RadioToolButton: hide tooltip on click #4268Simon Schampijer2012-11-271-0/+4
| | | | | | | This is the same behaviour as with the ToolButton. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* ToolButton: add 'icon_name' as a GObject property SL #3658Manuel Quiñones2012-06-011-0/+2
| | | | | | | | | | Sugar ToolButton inherits from Gtk.ToolButton but is not overwriting 'icon_name' property. So 'icon_name' can be passed to the constructor of Sugar ToolButton but the result is different than setting it via ToolButton.props.icon_name. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* icon: use GDK for pixbuf-to-cairo conversionDaniel Drake2012-03-071-12/+12
| | | | | | | | | | | | | | | | | We currently use some strange code inside hippo to paint a pixbuf onto a cairo surface. This can be more effectively done within GDK. This solves a Sugar crash-on-startup on Fedora 17, where this hippo code is crashing, and uses the same underlying mechanism as sugar-toolkit-gtk3. Also use cairo.Context.set_source_rgb() for setting the background colour, which avoids the requirement to encapsulate the cairo context at an early stage (which would make the rest of this patch a little more complicated). Signed-off-by: Daniel Drake <dsd@laptop.org> Acked-by: Simon Schampijer <simon@schampijer.de>
* Don't put event box in toplevel windowSimon Schampijer2011-09-271-8/+5
| | | | | | | | | | Remove an unnecessary toplevel widget. This event box was originally added by Marco "to make it easier to take screenshot of the canvas area only" (7f731457c2) but we're unsure why this is, and it doesn't seem to be needed for our current screenshot-taking mechanism. Screenshots continue to work fine after removing this.
* Some activities segfault when closing, OLPC #11201Simon Schampijer2011-09-071-1/+1
| | | | | | | TurtleArt and Abacus are two known candidates Signed-off-by: Simon Schampijer <simon@laptop.org> Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
*