[Portland-bugs] [Bug 71825] New: xdg-desktop-menu never removes entries from defaults.list

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 20 02:03:32 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71825

          Priority: medium
            Bug ID: 71825
          Assignee: portland-bugs at lists.freedesktop.org
           Summary: xdg-desktop-menu never removes entries from
                    defaults.list
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: astrand at lysator.liu.se
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: xdg-utils
           Product: Portland

We are registering a mime type association when are are installing our
application by these lines in the package postinstall script:

$ xdg-desktop-menu install /opt/thinlinc/lib/tlclient/thinlinc-client.desktop
$ xdg-mime install /opt/thinlinc/lib/tlclient/thinlinc-client-mime.xml

Same thing but "uninstall" when the package is removed. Unfortunately,
after removing the package, the type is still to be found:

$ xdg-mime query default application/vnd.cendio.thinlinc.clientconf
thinlinc-client.desktop

This is because xdg-desktop-menu adds stuff to
/usr/local/share/applications/defaults.list, but never removes anything.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20131120/934e5fd5/attachment.html>


More information about the Portland-bugs mailing list