sugar-toolkit-gtk3/src/sugar3/graphics
Simon Schampijer f5fee8a144 Popdown the palette if an item in the content box gets activated, SL and SL
The Palette is popped down when an item is activated. We can
listen on the 'button-release-event' on that widget. We make
sure the widget is of type PaletteMenuItem. This is similar
to what the GtkMenu is doing, see gtk_menu_shell_button_release [1].

[1] http://git.gnome.org/browse/gtk+/tree/gtk/gtkmenushell.c#n915

Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Manuel Quiñones <manuq@laptop.org>
2012-12-10 18:35:45 +01:00
..
__init__.py
alert.py Alert: fix for traceback in the draw - SL 2012-11-22 14:20:27 -03:00
animator.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 2011-12-13 17:19:52 -03:00
colorbutton.py Add support for locking Palettes, SL 2012-11-21 20:21:46 +01:00
combobox.py Trivial GTK3 porting fixes 2011-12-20 19:00:17 +01:00
icon.py Fixup for previous commit - SL 2012-11-29 15:10:18 -03:00
iconentry.py IconEntry, set_icon_from_name: handle case when icon can not be found cleanly 2012-09-17 15:54:26 +02:00
Makefile.am Set correct padding and size for the palette, window implementation - SL 2012-11-07 09:57:33 -03:00
menuitem.py Replacing set_data/get_data with a python attribute 2012-06-06 14:56:44 +02:00
notebook.py Adapt to Gtk.icon_size_lookup*() API changes 2011-12-13 17:19:52 -03:00
objectchooser.py Object Chooser: update for GDK3 get_xid() 2012-05-22 13:00:24 +02:00
palette.py Popdown the palette if an item in the content box gets activated, SL and SL 2012-12-10 18:35:45 +01:00
palettegroup.py Reimplement Palettes for GTK3 2011-12-20 19:19:16 +01:00
palettemenu.py Set correct padding and size for the palette, window implementation - SL 2012-11-07 09:57:33 -03:00
palettewindow.py Follow up fixes for the lockable Palette support 2012-11-23 17:38:05 +01:00
panel.py Trivial GTK3 porting fixes 2011-12-20 19:00:17 +01:00
radiopalette.py DescriptionButton, ShareButton: set the toggle_palette option to True 2012-11-06 15:21:35 +01:00
radiotoolbutton.py RadioToolButton: draw the outline properly - SL 2012-12-10 09:25:43 -03:00
style.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 2011-12-13 17:19:52 -03:00
toggletoolbutton.py RadioToolButton, ToolButton, ToggleToolButton: add back the getter for the icon_name property 2012-09-20 09:38:39 +02:00
toolbarbox.py Add support for locking Palettes, SL 2012-11-21 20:21:46 +01:00
toolbox.py Trivial GTK3 porting fixes 2011-12-20 19:00:17 +01:00
toolbutton.py Add toggle_palette property for Palette invoker, SL 2012-10-23 11:28:15 +02:00
toolcombobox.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 2011-12-13 17:19:52 -03:00
tray.py TrayIcon: get the black background and outline for palette popup - SL 2012-12-10 14:34:17 -03:00
window.py window: Avoid odd scrolling on OSK presence 2012-11-27 19:07:16 +01:00
xocolor.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 2011-12-13 17:19:52 -03:00