sugar-toolkit-gtk3/src/sugar3
Simon Schampijer 3859ff0022 WidgetInvoker: do not handle the clicked signal when there is no user interaction, part of SL #4307
There are cases where there is no user interaction but we do
receive a clicked signal: in the clipboard we do have
GtkRadioToolButton which are derived from the GtkToggleToolButton [1].

The 'clicked' signal is emitted when the 'active' property
changes [2]. We use the 'active' property to indicate the
current active clipping. In the Invoker we do check now
if the event originated a user interaction or if it was
generated due to a for example a property change.

[1] http://developer.gnome.org/gtk3/3.4/GtkToggleToolButton.html
[2] http://developer.gnome.org/gtk3/3.4/GtkToggleToolButton.html#GtkToggleToolButton--active

Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Carlos Garnacho <carlos@lanedo.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
2012-12-20 14:40:28 +01:00
..
activity
bundle
datastore
dispatch
event-controller
graphics
presence
__init__.py
_sugarbaseext.defs
_sugarbaseext.override
_sugarbaseextmodule.c
.gitignore
.license
acme-volume-alsa.c
acme-volume-alsa.h
acme-volume.c
acme-volume.h
eggaccelerators.c
eggaccelerators.h
eggdesktopfile.c
eggdesktopfile.h
eggsmclient-private.h
eggsmclient-xsmp.c
eggsmclient-xsmp.h
eggsmclient.c
eggsmclient.h
env.py
gsm-app.c
gsm-app.h
gsm-client-xsmp.c
gsm-client-xsmp.h
gsm-client.c
gsm-client.h
gsm-session.c
gsm-session.h
gsm-xsmp.c
gsm-xsmp.h
logger.py
Makefile.am
mime.py
network.py
profile.py
session.py
sugar-cursor-tracker.c
sugar-cursor-tracker.h
sugar-gesture-grabber.c
sugar-gesture-grabber.h
sugar-grid.c
sugar-grid.h
sugar-key-grabber.c
sugar-key-grabber.h
sugar-marshal.list
sugar-wm.c
sugar-wm.h
util.py
xdgmime.c
xdgmime.h
xdgmimealias.c
xdgmimealias.h
xdgmimecache.c
xdgmimecache.h
xdgmimeglob.c
xdgmimeglob.h
xdgmimeint.c
xdgmimeint.h
xdgmimemagic.c
xdgmimemagic.h
xdgmimeparent.c
xdgmimeparent.h