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.
Manuel Kaufmann 1497ebc006 CanvasIcon: do not keep it ACTIVE when right-click twice SL #4224
When a CanvasIcon is right-clicked __button_press_event_cb and
__palette_popup_cb are called but not __button_release_event_cb. So,
ACTIVE flag is set but immediately removed by __palette_popup_cb and
PRELIGHT is set.

Now, if the user right-click it again while the palette is popped up,
__button_press_event_cb is called and it sets ACTIVE flag but
__palette_popup_cb is not called again because the palette is already
shown and that makes the icon to keep in ACTIVE state.

This patch checks if the palette is popped up when
__button_press_event_cb is called and if the palette is not popped up
the ACTIVE flag is set.

Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
12 years ago
..
Makefile.am Set correct padding and size for the palette, window implementation - SL #4144 12 years ago
__init__.py
alert.py Alert: fix for traceback in the draw - SL #4251 12 years ago
animator.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 years ago
colorbutton.py Add support for locking Palettes, SL #4008 12 years ago
combobox.py Trivial GTK3 porting fixes 13 years ago
icon.py CanvasIcon: do not keep it ACTIVE when right-click twice SL #4224 12 years ago
iconentry.py IconEntry, set_icon_from_name: handle case when icon can not be found cleanly 12 years ago
menuitem.py Replacing set_data/get_data with a python attribute 12 years ago
notebook.py Adapt to Gtk.icon_size_lookup*() API changes 13 years ago
objectchooser.py Object Chooser: update for GDK3 get_xid() 12 years ago
palette.py Set correct padding and size for the palette, window implementation - SL #4144 12 years ago
palettegroup.py Reimplement Palettes for GTK3 13 years ago
palettemenu.py Set correct padding and size for the palette, window implementation - SL #4144 12 years ago
palettewindow.py Follow up fixes for the lockable Palette support 12 years ago
panel.py Trivial GTK3 porting fixes 13 years ago
radiopalette.py DescriptionButton, ShareButton: set the toggle_palette option to True 12 years ago
radiotoolbutton.py RadioToolButton: make sure _hide_tooltip_on_click is initialized in time 12 years ago
style.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 years ago
toggletoolbutton.py RadioToolButton, ToolButton, ToggleToolButton: add back the getter for the icon_name property 12 years ago
toolbarbox.py Add support for locking Palettes, SL #4008 12 years ago
toolbox.py Trivial GTK3 porting fixes 13 years ago
toolbutton.py Add toggle_palette property for Palette invoker, SL #4065 12 years ago
toolcombobox.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 years ago
tray.py Tray: wrap them in EventBoxes in order to make them themeable - SL #3565 12 years ago
window.py window: Avoid odd scrolling on OSK presence 12 years ago
xocolor.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 years ago