Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
libappindicator
libappindicator-activate-support.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libappindicator-activate-support.patch of Package libappindicator
--- a/src/app-indicator.c +++ b/src/app-indicator.c @@ -1188,6 +1188,12 @@ bus_method_call (GDBusConnection * conne { gtk_widget_activate (menuitem); } + } else if (g_strcmp0(method, "Activate") == 0) { + GtkMenu * menu = app_indicator_get_menu(app); + if (menu != NULL) { + gtk_menu_popup(menu, NULL, NULL, NULL, NULL, 1, + gtk_get_current_event_time()); + } } else { g_warning("Calling method '%s' on the app-indicator and it's unknown", method); } --- a/src/notification-item.xml +++ b/src/notification-item.xml @@ -31,6 +31,10 @@ <method name="XAyatanaSecondaryActivate"> <arg type="u" name="timestamp" direction="in" /> </method> + <method name="Activate"> + <arg type="i" name="x" direction="in" /> + <arg type="i" name="y" direction="in" /> + </method> <!-- Signals --> <signal name="NewIcon">
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor