[Xfce-bugs] [Bug 14410] New: Merge all file-context-menus into one

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun May 20 19:03:37 CEST 2018


https://bugzilla.xfce.org/show_bug.cgi?id=14410

            Bug ID: 14410
           Summary: Merge all file-context-menus into one
    Classification: Xfce Core
           Product: Thunar
           Version: git
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: acs82 at gmx.de
                CC: benny at xfce.org, hjudt at xfce.org
  Target Milestone: 1.8.0

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list