indicatorStatusIcon: Override new Clutter.ClickGesture by aleasto · Pull Request #620 · ubuntu/gnome-shell-extension-appindicator (original) (raw)

@crab2313 @aleasto

GNOME Shell 50 uses the new Clutter.ClickGesture to handle clicks. This takes precedence over the Clutter.Actor::button_press_event and similar vfuncs.

Disable the gesture, if it exists, and fall back to the vfuncs.

This maintains compatibility with older GNOME Shell versions.

Closes: ubuntu#614 Co-authored-by: Alessandro Astone alessandro.astone@canonical.com