[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 97776] kde ignores icons folder in XDG_DATA_DIRS
From: Jan de Groot <jan () jgc ! homeip ! net>
Date: 2005-09-11 11:39:52
Message-ID: 20050911113952.17174.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=97776
------- Additional Comments From jan jgc homeip net 2005-09-11 13:39 -------
Created an attachment (id=12524)
--> (http://bugs.kde.org/attachment.cgi?id=12524&action=view)
Adds icon lookup in XDG_DATA_DIRS
This patch looks a bit hacky, but kdecore seems to be hacky anyways (when I
started doing it the "right" way, I got so many compiler warnings that I had to
C&P the compiler output in a text editor to find the error in it).
What this patch actually does is looking up icons in $KDEDIRS/icons and
$KDEDIRS/pixmaps as usual, and besides those standard dirs, it also looks at
$XDG_DATA_DIRS/icons and $XDG_DATA_DIRS/pixmaps.
According to the icon theme specifications at
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html,
looking in XDG_DATA_DIRS/icons and /usr/share/pixmaps is standard, but too many
applications store pixmaps in their own prefix, resulting in things like
/opt/gnome/share/pixmaps. GTK+ also looks for icons in XDG_DATA_DIRS/pixmaps,
so I do the same with KDE now.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic