summaryrefslogtreecommitdiffstats
path: root/devel/py-xdg/files/patch-xdg::IconTheme.py
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-xdg/files/patch-xdg::IconTheme.py')
-rw-r--r--devel/py-xdg/files/patch-xdg::IconTheme.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/py-xdg/files/patch-xdg::IconTheme.py b/devel/py-xdg/files/patch-xdg::IconTheme.py
new file mode 100644
index 000000000..cc5714b82
--- /dev/null
+++ b/devel/py-xdg/files/patch-xdg::IconTheme.py
@@ -0,0 +1,15 @@
+--- xdg/IconTheme.py.orig Sun Jun 5 14:20:19 2005
++++ xdg/IconTheme.py Sun Jun 5 14:21:07 2005
+@@ -215,7 +215,11 @@
+ icondirs = []
+ for basedir in xdg_data_dirs:
+ icondirs.append(os.path.join(basedir, "icons"))
+-icondirs.append("/usr/share/pixmaps")
++icondirs.append("%%X11BASE%%/share/pixmaps")
++icondirs.append("%%LOCALBASE%%/share/pixmaps")
++icondirs.append("%%LOCALBASE%%/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