summary refs log tree commit diff
path: root/pkgs/desktops/xfce/core/xfce4-settings-default-icon-theme.patch
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-15 16:10:34 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-15 16:15:11 +0200
commita218b2d3cb1ba9c450b2513cfe7e2f85998144b5 (patch)
treeccb99955ddfae2e65bb9a6c59ff2671bb7c645ea /pkgs/desktops/xfce/core/xfce4-settings-default-icon-theme.patch
parent47c9825c2dbfb21596d69088149d2bb9ccd0194e (diff)
downloadnixlib-a218b2d3cb1ba9c450b2513cfe7e2f85998144b5.tar
nixlib-a218b2d3cb1ba9c450b2513cfe7e2f85998144b5.tar.gz
nixlib-a218b2d3cb1ba9c450b2513cfe7e2f85998144b5.tar.bz2
nixlib-a218b2d3cb1ba9c450b2513cfe7e2f85998144b5.tar.lz
nixlib-a218b2d3cb1ba9c450b2513cfe7e2f85998144b5.tar.xz
nixlib-a218b2d3cb1ba9c450b2513cfe7e2f85998144b5.tar.zst
nixlib-a218b2d3cb1ba9c450b2513cfe7e2f85998144b5.zip
xfce: Fix missing icons
Xfce didn't have a default value for its icon theme, so most icons
were missing until the user explicitly selected an icon theme in the
appearance settings.  Example:

  http://hydra.nixos.org/build/5717570/download/1/screen.png

This patch sets the Rodent theme as the default (which used to be the
case on NixOS).

http://lists.freebsd.org/pipermail/freebsd-ports/2012-June/076349.html
http://www.freebsd.org/cgi/query-pr.cgi?pr=168688
Diffstat (limited to 'pkgs/desktops/xfce/core/xfce4-settings-default-icon-theme.patch')
-rw-r--r--pkgs/desktops/xfce/core/xfce4-settings-default-icon-theme.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/desktops/xfce/core/xfce4-settings-default-icon-theme.patch b/pkgs/desktops/xfce/core/xfce4-settings-default-icon-theme.patch
new file mode 100644
index 000000000000..51ac265dcb1f
--- /dev/null
+++ b/pkgs/desktops/xfce/core/xfce4-settings-default-icon-theme.patch
@@ -0,0 +1,12 @@
+diff -ru -x '*~' xfce4-settings-4.10.1/xfsettingsd/xsettings.xml xfce4-settings-4.10.1-new/xfsettingsd/xsettings.xml
+--- xfce4-settings-4.10.1/xfsettingsd/xsettings.xml	2013-05-05 18:12:54.000000000 +0200
++++ xfce4-settings-4.10.1-new/xfsettingsd/xsettings.xml	2013-08-15 15:57:48.538586286 +0200
+@@ -7,7 +7,7 @@
+ <channel name="xsettings" version="1.0">
+   <property name="Net" type="empty">
+     <property name="ThemeName" type="empty"/>
+-    <property name="IconThemeName" type="empty"/>
++    <property name="IconThemeName" type="string" value="Rodent"/>
+     <property name="DoubleClickTime" type="int" value="250"/>
+     <property name="DoubleClickDistance" type="int" value="5"/>
+     <property name="DndDragThreshold" type="int" value="8"/>