From fb78bea6dbbba44faa7bba63a7a904d5436092f1 Mon Sep 17 00:00:00 2001
From: Theo Linkspfeifer <lastonestanding@tutanota.com>
Date: Tue, 7 Jan 2025 21:56:57 +0100
Subject: [PATCH] Clean up the location button context menu

Drop unneeded menu entries.

Closes: #1441
---
 thunar/thunar-location-buttons.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/thunar/thunar-location-buttons.c b/thunar/thunar-location-buttons.c
index c70967c0c..0fdb89b9b 100644
--- a/thunar/thunar-location-buttons.c
+++ b/thunar/thunar-location-buttons.c
@@ -1310,8 +1310,6 @@ thunar_location_buttons_context_menu (ThunarLocationButton  *button,
       thunar_menu_add_sections (context_menu, THUNAR_MENU_SECTION_CREATE_NEW_FILES
                                               | THUNAR_MENU_SECTION_COPY_PASTE
                                               | THUNAR_MENU_SECTION_EMPTY_TRASH
-                                              | THUNAR_MENU_SECTION_RENAME
-                                              | THUNAR_MENU_SECTION_RESTORE
                                               | THUNAR_MENU_SECTION_CUSTOM_ACTIONS
                                               | THUNAR_MENU_SECTION_PROPERTIES);
     }
@@ -1321,9 +1319,6 @@ thunar_location_buttons_context_menu (ThunarLocationButton  *button,
       thunar_menu_add_sections (context_menu, THUNAR_MENU_SECTION_OPEN
                                               | THUNAR_MENU_SECTION_SENDTO
                                               | THUNAR_MENU_SECTION_COPY_PASTE
-                                              | THUNAR_MENU_SECTION_EMPTY_TRASH
-                                              | THUNAR_MENU_SECTION_RENAME
-                                              | THUNAR_MENU_SECTION_RESTORE
                                               | THUNAR_MENU_SECTION_CUSTOM_ACTIONS
                                               | THUNAR_MENU_SECTION_PROPERTIES);
     }
-- 
GitLab