Bug 129286 - desktop-file-install fails to remove last Category
Summary: desktop-file-install fails to remove last Category
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: desktop-file-utils
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-05 22:05 UTC by Ville Skyttä
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-08-31 15:20:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2004-08-05 22:05:22 UTC
Note: I've reported this upstream to xdg-list, but got no responses
there about where to report desktop-file-utils bugs, so I'll try my
luck here.

Even in the latest (upstream) CVS HEAD of desktop-file-utils,
"desktop-file-install --remove-category ..." fails to remove the last
category.

Reproducer using the emacs desktop entry from FC2:

  $ cd /tmp
  $ grep Categories /usr/share/applications/gnu-emacs.desktop
  Categories=TextEditor;Development;X-Red-Hat-Base;Application;
  $ desktop-file-install --vendor foo --dir $PWD \
    --remove-category Application \
    /usr/share/applications/gnu-emacs.desktop &>/dev/null
  $ grep Categories ./foo-gnu-emacs.desktop
  Categories=TextEditor;Development;X-Red-Hat-Base;Application;

Expected:

  Categories=TextEditor;Development;X-Red-Hat-Base;

Comment 1 Ray Strode [halfline] 2005-08-31 15:20:53 UTC
Hi Ville,

This problem seems to be fixed now.  I'm going to close the bug.

Comment 2 Ville Skyttä 2005-08-31 15:28:03 UTC
Indeed, thanks. 


Note You need to log in before you can comment on or make changes to this bug.