Merge all file-context-menus into one
## Submitted by Alexander Schwinn `@alexxcons` Assigned to **Alexander Schwinn `@alexxcons`** **[Link to original bug (#14410)](https://bugzilla.xfce.org/show_bug.cgi?id=14410)** ## Description Currently there are at least 4 different context-menus implemented in thunar. All of them look almost the same +/- 1 or 2 extra items. The following methods implement the functionality for different classes: thunar_tree_view_context_menu thunar_location_buttons_context_menu thunar_shortcuts_view_context_menu thunar_tree_view_context_menu This issue is about adding an additional class "thunar-file-context-menu" which provides the context-menu service for all other classes, and which implements the logic only once, instead of 4x The gain will be: - simpler to add/remove/modify context menu items - same items on each context menu (user expectation) - less maintenance / less duplicated code Fixing this issue as well would fix Bug #2068 Version: git
issue