GNOME Bugzilla – Bug 776134
status-notifier: Keyboard interaction support
Last modified: 2016-12-18 13:53:50 UTC
Created attachment 342021 [details] [review] status-notifier: add support for keyboard activation Attached patch adds support for keyboard activation of the status-notifier items. * activating the items (return, space, etc.) work the same as left mouse click (activate). * menu key, shift-f10, etc. work the same as right mouse click (popup menu).
Created attachment 342025 [details] [review] status-notifier: add support for keyboard activation Updated patch not to emit activate twice. I initially though that the GtkWidget::button_press_event override would prevent GtkButton::clicked from being emitted, but that's not true anymore now GtkButton uses GtkGesture internally instead of a GtkWidget::button_press_event override. So, remove the custom handling of left mouse click and leave this to GtkButton::clicked override, not to send "activate" twice.
Thanks!