aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/menu.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-31 13:49:32 -0500
committerTed Gould <ted@gould.cx>2010-03-31 13:49:32 -0500
commit79f8505edd8fd05373275f2835e2400d7611fcf5 (patch)
tree42dfe9854f31feba99699ee28086433a34d37479 /libdbusmenu-gtk/menu.c
parentcae176681adb2e32464ec690b319008ae04a4a09 (diff)
downloadlibdbusmenu-79f8505edd8fd05373275f2835e2400d7611fcf5.tar.gz
libdbusmenu-79f8505edd8fd05373275f2835e2400d7611fcf5.tar.bz2
libdbusmenu-79f8505edd8fd05373275f2835e2400d7611fcf5.zip
Fixing the calls into the about_to_show stuff so that we can add callbacks.
Diffstat (limited to 'libdbusmenu-gtk/menu.c')
-rw-r--r--libdbusmenu-gtk/menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libdbusmenu-gtk/menu.c b/libdbusmenu-gtk/menu.c
index 8a2b318..103ecfe 100644
--- a/libdbusmenu-gtk/menu.c
+++ b/libdbusmenu-gtk/menu.c
@@ -100,7 +100,9 @@ menu_focus_cb(DbusmenuGtkMenu * menu, gpointer userdata)
{
DbusmenuGtkMenuPrivate * priv = DBUSMENU_GTKMENU_GET_PRIVATE(menu);
if (priv->client != NULL) {
- dbusmenu_client_send_about_to_show(DBUSMENU_CLIENT(priv->client), 0);
+ /* TODO: We should stop the display of the menu
+ until the about to show call returns. */
+ dbusmenu_client_send_about_to_show(DBUSMENU_CLIENT(priv->client), 0, NULL, NULL);
}
return;
}