summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2003-07-24 06:10:55 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2003-07-24 06:10:55 +0000
commitd51702affa3e3895f9fca218de39690f8958b500 (patch)
tree2575931b18a36321770c7f2e8aa8768be590d564 /plugins
parent5973fb03f503de151d75db08e0a35ca741c3476e (diff)
I had a commit message but my commit got stepped on so fuck it.
No one cares what I think anyway. If the menu navigation isn't EXACTLY FUCKING RIGHT I WILL REMOVE IT AND SOME OTHER POOR FUCK CAN PUT UP WITH ALL THE FUCKING BULLSHIT.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/menu/client_menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/menu/client_menu.c b/plugins/menu/client_menu.c
index 568c8b2d..9edb3929 100644
--- a/plugins/menu/client_menu.c
+++ b/plugins/menu/client_menu.c
@@ -52,7 +52,7 @@ void client_send_to_update(ObMenu *self)
menu_add_entry(self, e);
}
- menu_render_full(self);
+ self->update(self);
}
}
@@ -102,7 +102,7 @@ void plugin_destroy (ObMenu *m)
void *plugin_create() /* TODO: need config */
{
ObMenu *m = menu_new_full(NULL, "client-menu", NULL,
- client_menu_show, NULL);
+ client_menu_show, NULL, NULL, NULL, NULL);
m->plugin = PLUGIN_NAME;
menu_add_entry(m, menu_entry_new_submenu("Send To Workspace",
send_to_menu));
@@ -144,7 +144,7 @@ void plugin_startup()
ObMenu *t;
/* create a Send To Workspace ObMenu */
send_to_menu = menu_new_full(NULL, "send-to-workspace",
- NULL, NULL, client_send_to_update);
+ NULL, NULL, client_send_to_update, NULL, NULL, NULL);
layer_menu = menu_new(NULL, "layer", NULL);
menu_add_entry(layer_menu, menu_entry_new("Top Layer",