[Portland] [Bug 7517] New: xdg-desktop-menu --vendor needs work

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Thu Jul 13 13:14:14 PDT 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=7517          
     
           Summary: xdg-desktop-menu --vendor needs work
           Product: Portland
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xdg-utils
        AssignedTo: portland at lists.freedesktop.org
        ReportedBy: tom.whipple at intel.com


The --vendor tag for xdg-desktop-menu works by pre-pending the vendorid to the
filenames of the .desktop/.directory/.menu files. However, the .desktop and
.directory files are also referenced from within the .menu xml. So the author of
the menu file must also know exaclty the syntax xdg-command line at install
time. This seems to place uncessary burden on the .menu author.

There are two obvious approaches to fix this:
1. get rid of the --vendor argument.
2. Make installation of .menu files smart enough to deal with this. This
introduces the dependency that the installation of .menu and .desktop files both
be called with the same arguments. Perhaps we could make it easier by allowing
multiple files for xdg-desktop-menu. (ie xdg-desktop-menu install --user
--vendor shinythings webmirror.*)

In either case, the documentation needs clarifying.

If option 2 is choosen it might be a good idea to generate an error for bad
.menu xml.

The example given as documentation has been fixed and checked in at
portland/xdg-utils/tests/xdg-desktop-menu/data/shinythings_example          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Portland mailing list