From d9451491b04479d2d9dd77adb3d876aec64c98d7 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Mon, 10 Sep 2001 14:21:51 +0000 Subject: [PATCH] r824: Middle-button dragging to a program brings up the menu rather than running it. --- ROX-Filer/src/dnd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ROX-Filer/src/dnd.c b/ROX-Filer/src/dnd.c index 4439dbfc..f6ad593e 100644 --- a/ROX-Filer/src/dnd.c +++ b/ROX-Filer/src/dnd.c @@ -967,8 +967,8 @@ static void got_uri_list(GtkWidget *widget, if (!uri_list) error = _("No URIs in the text/uri-list (nothing to do!)"); - else if (type == drop_dest_prog) - run_with_files(dest_path, uri_list); /* XXX: Action ask? */ + else if (context->action != GDK_ACTION_ASK && type == drop_dest_prog) + run_with_files(dest_path, uri_list); else if ((!uri_list->next) && (!get_local_path(uri_list->data))) { /* There is one URI in the list, and it's not on the local -- 2.11.4.GIT