diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-09-09 11:26:59 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-09-09 11:26:59 -0400 |
commit | a8339d74944ac724f0d3c782334d57fc97a628b9 (patch) | |
tree | 6950c50a04f935e1d0cb8aea13f81b831d01bb0e /libdbusmenu-gtk/client.c | |
parent | b73234dae98ad8a921457858ff19079b8266d295 (diff) | |
parent | be073ce65ee3a15a4e6aa14fcc88176df184caa6 (diff) | |
download | libdbusmenu-a8339d74944ac724f0d3c782334d57fc97a628b9.tar.gz libdbusmenu-a8339d74944ac724f0d3c782334d57fc97a628b9.tar.bz2 libdbusmenu-a8339d74944ac724f0d3c782334d57fc97a628b9.zip |
* New upstream release.
* Handling window grabs on activated signals (LP: #633275)
* Fixing the passing of the value to the results signal
* Adding a test for checking event results signal
* Changing the timeouts on event calls for better detection
of failing applications
Diffstat (limited to 'libdbusmenu-gtk/client.c')
-rw-r--r-- | libdbusmenu-gtk/client.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c index 44f95fe..6970d59 100644 --- a/libdbusmenu-gtk/client.c +++ b/libdbusmenu-gtk/client.c @@ -453,6 +453,13 @@ activate_helper (GtkMenuShell * shell) if (GTK_IS_MENU(parent)) { activate_helper(GTK_MENU_SHELL(parent)); } + + if (!GTK_MENU_SHELL (parent)->active) { + gtk_grab_add (parent); + GTK_MENU_SHELL (parent)->have_grab = TRUE; + GTK_MENU_SHELL (parent)->active = TRUE; + } + gtk_menu_shell_select_item(GTK_MENU_SHELL(parent), attach); } } |