From bf92f7f5080cfe90f92f1edc53062f4ac6221805 Mon Sep 17 00:00:00 2001 From: Alexander Schwinn Date: Tue, 26 May 2020 01:29:09 +0200 Subject: re-introduce "paste into folder", simplify related code (Issue #293) --- thunar/thunar-location-buttons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thunar/thunar-location-buttons.c') diff --git a/thunar/thunar-location-buttons.c b/thunar/thunar-location-buttons.c index 305eacb6..f293b5de 100644 --- a/thunar/thunar-location-buttons.c +++ b/thunar/thunar-location-buttons.c @@ -1206,7 +1206,7 @@ thunar_location_buttons_context_menu (ThunarLocationButton *button, g_object_set (G_OBJECT (buttons->launcher), "selected-files", files, NULL); g_list_free (files); is_current_directory = g_file_equal (thunar_file_get_file (file), thunar_file_get_file (buttons->current_directory)); - context_menu = g_object_new (THUNAR_TYPE_MENU, "menu-type", THUNAR_MENU_TYPE_CONTEXT, + context_menu = g_object_new (THUNAR_TYPE_MENU, "menu-type", THUNAR_MENU_TYPE_CONTEXT_LOCATION_BUTTONS, "launcher", buttons->launcher, "force-section-open", TRUE, "change_directory-support-disabled", is_current_directory, NULL); -- cgit v1.2.1