From 6a79805b7c4116ee6ced87e78fb488f3274098ef Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 10 Jun 2007 18:48:58 +0000 Subject: cache pipe menus until the menus close --- openbox/menu.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'openbox/menu.h') diff --git a/openbox/menu.h b/openbox/menu.h index 591dfb65..6288d870 100644 --- a/openbox/menu.h +++ b/openbox/menu.h @@ -165,8 +165,10 @@ ObMenu* menu_new(const gchar *name, const gchar *title, gboolean allow_shortcut_selection, gpointer data); void menu_free(ObMenu *menu); -/* Repopulate a pipe-menu by running its command */ +/*! Repopulate a pipe-menu by running its command */ void menu_pipe_execute(ObMenu *self); +/*! Clear a pipe-menu's entries */ +void menu_clear_pipe_caches(); void menu_show_all_shortcuts(ObMenu *self, gboolean show); -- cgit v1.2.3