[Xfce4-commits] r24985 - xfce-mcs-plugins/trunk/plugins/ui_plugin
Olivier Fourdan
olivier at xfce.org
Sat Feb 17 09:43:18 CET 2007
Author: olivier
Date: 2007-02-17 08:43:17 +0000 (Sat, 17 Feb 2007)
New Revision: 24985
Modified:
xfce-mcs-plugins/trunk/plugins/ui_plugin/ui_plugin.c
Log:
Do not include theme w/out directory or hidden in the icon theme list (patch from Eugene Zagidullin, bug #2912)
Modified: xfce-mcs-plugins/trunk/plugins/ui_plugin/ui_plugin.c
===================================================================
--- xfce-mcs-plugins/trunk/plugins/ui_plugin/ui_plugin.c 2007-02-16 21:26:20 UTC (rev 24984)
+++ xfce-mcs-plugins/trunk/plugins/ui_plugin/ui_plugin.c 2007-02-17 08:43:17 UTC (rev 24985)
@@ -395,7 +395,7 @@
xfce_rc_set_group(themefile, "Icon Theme");
- if(strcmp(xfce_rc_read_entry(themefile, "Hidden", "false"), "true") == 0)
+ if(! xfce_rc_has_entry(themefile, "Directories") || (strcmp(xfce_rc_read_entry(themefile, "Hidden", "false"), "true") == 0))
{
xfce_rc_close(themefile);
continue;
More information about the Xfce4-commits
mailing list