diff options
author | Ted Gould <ted@gould.cx> | 2010-11-11 08:15:20 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-11-11 08:15:20 -0600 |
commit | c9694f168206aec1258a57b0f9e458e2a9485ef0 (patch) | |
tree | 737761d9428c29f0843fc3f6adf59bd373f7ba9b /libdbusmenu-gtk/client.c | |
parent | 30691761c907afc9c5b33fa90e8cbbacc9745acd (diff) | |
parent | 7ba22007311d5ed891a8dbb29e76873c74ea4ea6 (diff) | |
download | libdbusmenu-c9694f168206aec1258a57b0f9e458e2a9485ef0.tar.gz libdbusmenu-c9694f168206aec1258a57b0f9e458e2a9485ef0.tar.bz2 libdbusmenu-c9694f168206aec1258a57b0f9e458e2a9485ef0.zip |
Merging in configurable GTK build option
Diffstat (limited to 'libdbusmenu-gtk/client.c')
-rw-r--r-- | libdbusmenu-gtk/client.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c index 487971f..bba4550 100644 --- a/libdbusmenu-gtk/client.c +++ b/libdbusmenu-gtk/client.c @@ -454,11 +454,17 @@ activate_helper (GtkMenuShell * shell) activate_helper(GTK_MENU_SHELL(parent)); } + /* This code is being commented out for GTK 3 because it + doesn't expose the right variables. We need to figure + this out as menus won't get grabs properly. + TODO FIXME HELP ARGHHHHHHHH */ +#if (HAVE_GTK3 == 0) if (!GTK_MENU_SHELL (parent)->active) { gtk_grab_add (parent); GTK_MENU_SHELL (parent)->have_grab = TRUE; GTK_MENU_SHELL (parent)->active = TRUE; } +#endif gtk_menu_shell_select_item(GTK_MENU_SHELL(parent), attach); } |