1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/devel/py-xdg/files/patch-xdg::IconTheme.py
Michael Johnson b09e5eed7f - Add some more icon paths, [LOCALBASE|X11BASE]/share/pixmaps
- Use X11BASE/etc/xdg for xdg path for now. LOCALBASE/etc/xdg will
  be readded later.
- Bump PORTREVISION

Submitted by:	mezz
2005-06-05 19:34:58 +00:00

16 lines
599 B
Python

--- 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("%%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