From 54b80a7271e8ce1b2f3ccc68bb553940a24b80e2 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 17 Oct 2008 03:48:03 +0000 Subject: Get the mail folder tree compiling, though I'm not yet sure why it's not showing anything. Probably something stupid. Also enabled the composer. svn path=/branches/kill-bonobo/; revision=36623 --- shell/e-shell-window-actions.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'shell/e-shell-window-actions.c') diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index a5ca5b310d..2dcdd4c4d4 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -2192,7 +2192,6 @@ e_shell_window_update_search_menu (EShellWindow *shell_window) FilterRule *rule; GtkUIManager *ui_manager; GtkActionGroup *action_group; - GList *list, *iter; const gchar *source; const gchar *view_name; gboolean sensitive; @@ -2223,13 +2222,7 @@ e_shell_window_update_search_menu (EShellWindow *shell_window) /* Unmerge the previous menu. */ gtk_ui_manager_remove_ui (ui_manager, merge_id); - - /* XXX Annoying that GTK+ doesn't provide a function for this. - * http://bugzilla.gnome.org/show_bug.cgi?id=550485 */ - list = gtk_action_group_list_actions (action_group); - for (iter = list; iter != NULL; iter = iter->next) - gtk_action_group_remove_action (action_group, iter->data); - g_list_free (list); + e_action_group_remove_all_actions (action_group); rule = rule_context_next_rule (context, NULL, source); while (rule != NULL) { -- cgit v1.2.3