From 1cd5fb6de35c30eb1965c9847a808aefac325778 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 28 Oct 2009 09:06:15 -0400 Subject: Don't update the message list when right-clicking on a folder. After the folder's context menu closes the folder tree selection jumps back to the folder whose contents are showing in the message list. Suggested by Philippe LeCavalier on evolution-list. --- shell/e-shell-view.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'shell/e-shell-view.c') diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 0bfa17c0cc..3e8bd9400b 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -1137,8 +1137,10 @@ e_shell_view_update_actions (EShellView *shell_view) * The #EShellView::update-actions signal is emitted just prior to * showing the menu to give @shell_view and any plugins that extend * @shell_view a chance to update the menu's actions. + * + * Returns: the popup menu being displayed **/ -void +GtkWidget * e_shell_view_show_popup_menu (EShellView *shell_view, const gchar *widget_path, GdkEventButton *event) @@ -1162,6 +1164,8 @@ e_shell_view_show_popup_menu (EShellView *shell_view, gtk_menu_popup ( GTK_MENU (menu), NULL, NULL, NULL, NULL, 0, gtk_get_current_event_time ()); + + return menu; } /** -- cgit v1.2.3