[Xfce4-commits] r24986 - xfce-mcs-plugins/branches/xfce_4_4/plugins/ui_plugin

Olivier Fourdan olivier at xfce.org
Sat Feb 17 09:43:31 CET 2007


Author: olivier
Date: 2007-02-17 08:43:31 +0000 (Sat, 17 Feb 2007)
New Revision: 24986

Modified:
   xfce-mcs-plugins/branches/xfce_4_4/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/branches/xfce_4_4/plugins/ui_plugin/ui_plugin.c
===================================================================
--- xfce-mcs-plugins/branches/xfce_4_4/plugins/ui_plugin/ui_plugin.c	2007-02-17 08:43:17 UTC (rev 24985)
+++ xfce-mcs-plugins/branches/xfce_4_4/plugins/ui_plugin/ui_plugin.c	2007-02-17 08:43:31 UTC (rev 24986)
@@ -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