From 786e6eada9bdc85f6ecc50275dbe88a1000725ea Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Sat, 30 Jun 2001 18:29:39 +0000 Subject: Pass the event time to gtk_menu_popup() so that we can release the button 2001-06-30 Federico Mena Quintero * e-storage-set-view.c (popup_folder_menu): Pass the event time to gtk_menu_popup() so that we can release the button and have the menu stay up. svn path=/trunk/; revision=10633 --- shell/ChangeLog | 6 ++++++ shell/e-storage-set-view.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index 348efdae13..803c0c7d39 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,9 @@ +2001-06-30 Federico Mena Quintero + + * e-storage-set-view.c (popup_folder_menu): Pass the event time to + gtk_menu_popup() so that we can release the button and have the + menu stay up. + 2001-06-29 Ettore Perazzoli This is a first shoot at making shortcuts renameable [#3719]; diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index b0f2a5c547..5b5e117c1b 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -728,7 +728,7 @@ popup_folder_menu (EStorageSetView *storage_set_view, e_folder_get_type_string (folder)); gtk_widget_show (GTK_WIDGET (menu)); - gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, 3, 0); + gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, 3, event->time); } -- cgit v1.2.3