From d51702affa3e3895f9fca218de39690f8958b500 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Thu, 24 Jul 2003 06:10:55 +0000 Subject: 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. --- plugins/menu/client_menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/menu') 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", -- cgit v1.2.3