ports/devel/py-xdg/files/patch-xdg::IconTheme.py
Jeremy Messenger f4a4ca3ce6 A python library to access freedesktop.org standards.
Currently supported are:
 o Base Directory Specification
 o Menu Specification
 o Desktop Entry Specification
 o Icon Theme Specification

WWW:	http://freedesktop.org/Software/pyxdg

PR:		ports/68332
Submitted by:	michael johnson <ahze@ahze.net>
2004-06-26 00:41:43 +00:00

13 lines
504 B
Python

--- xdg/IconTheme.py.orig Mon Mar 29 13:37:54 2004
+++ xdg/IconTheme.py Fri Jun 25 17:04:04 2004
@@ -212,7 +212,9 @@
icondirs = []
for basedir in xdg_data_dirs:
icondirs.append(os.path.join(basedir, "icons"))
-icondirs.append("/usr/share/pixmaps")
+icondirs.append("%%X11BASE%%/share/gnome/pixmaps")
+icondirs.append("%%X11BASE%%/share/icons")
+icondirs.append("%%LOCALBASE%%/share/icons")
icondirs.append(os.path.expanduser("~/.icons"))
# just cache variables, they give a 10x speed improvement