diff options
author | Alexander Schwinn <alexxcons@xfce.org> | 2020-05-26 01:29:09 +0200 |
---|---|---|
committer | Alexander Schwinn <alexxcons@xfce.org> | 2020-06-08 09:49:17 +0200 |
commit | bf92f7f5080cfe90f92f1edc53062f4ac6221805 (patch) | |
tree | 4c03f2bd437b1b2430f1e288cb21d940d1931717 /thunar/thunar-location-buttons.c | |
parent | 9326856ced8f356255b8e8f29d9bfbb4e7466a2e (diff) | |
download | thunar-bf92f7f5080cfe90f92f1edc53062f4ac6221805.tar.gz |
re-introduce "paste into folder", simplify related code (Issue #293)
Diffstat (limited to 'thunar/thunar-location-buttons.c')
-rw-r--r-- | thunar/thunar-location-buttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |