[Portland-bugs] [Bug 8153] New: xdg-icon-resource: gtk-update-icon-cache when no cache existed

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Wed Sep 6 13:33:25 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.     
           Summary: xdg-icon-resource: gtk-update-icon-cache when no cache
           Product: Portland
           Version: beta3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: pelle at debian.org

The script xdg-icon-resource tries to create a GTK icon cache when installing
icons. The problem here is that there might not have been an icon cache there in
the first place.

Suppose then that another package installs an icon, but does not update the icon
cache (this happens frequently in Debian). Then GTK will not see the new icon
because it uses the outdated cache. Thus, xdg-icon-resource breaks unrelated

My proposal for fixing this is to check if a cache exists before trying to
update it.          
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-bugs mailing list