summaryrefslogtreecommitdiff
path: root/src/bin/efreet
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-16 13:03:45 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-16 13:04:03 +0100
commitb376c2a902459e8080e7db23d9d26a5efc3440e8 (patch)
tree4059769d8a183fc29772f21658c6aab5eeda65b5 /src/bin/efreet
parentda36015148b01331333acb52a584f9002cf28aeb (diff)
efreet - look in /usr/local/share/pixmaps too
Diffstat (limited to 'src/bin/efreet')
-rw-r--r--src/bin/efreet/efreet_icon_cache_create.c3
-rw-r--r--src/bin/efreet/efreetd_cache.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/efreet/efreet_icon_cache_create.c b/src/bin/efreet/efreet_icon_cache_create.c
index 9f3141b8f9..6810ca684e 100644
--- a/src/bin/efreet/efreet_icon_cache_create.c
+++ b/src/bin/efreet/efreet_icon_cache_create.c
@@ -164,6 +164,7 @@ cache_fallback_scan(Eina_Hash *icons, Eina_Hash *dirs)
164 } 164 }
165#endif 165#endif
166 166
167 cache_fallback_scan_dir(icons, dirs, "/usr/local/share/pixmaps");
167 cache_fallback_scan_dir(icons, dirs, "/usr/share/pixmaps"); 168 cache_fallback_scan_dir(icons, dirs, "/usr/share/pixmaps");
168 169
169 return EINA_TRUE; 170 return EINA_TRUE;
@@ -217,6 +218,7 @@ check_fallback_changed(Efreet_Cache_Icon_Theme *theme)
217 } 218 }
218#endif 219#endif
219 220
221 if (cache_directory_modified(theme->dirs, "/usr/local/share/pixmaps")) return EINA_TRUE;
220 if (cache_directory_modified(theme->dirs, "/usr/share/pixmaps")) return EINA_TRUE; 222 if (cache_directory_modified(theme->dirs, "/usr/share/pixmaps")) return EINA_TRUE;
221 return EINA_FALSE; 223 return EINA_FALSE;
222} 224}
@@ -912,6 +914,7 @@ main(int argc, char **argv)
912 } 914 }
913#endif 915#endif
914 916
917 cache_theme_scan("/usr/local/share/pixmaps");
915 cache_theme_scan("/usr/share/pixmaps"); 918 cache_theme_scan("/usr/share/pixmaps");
916 919
917 /* scan icons */ 920 /* scan icons */
diff --git a/src/bin/efreet/efreetd_cache.c b/src/bin/efreet/efreetd_cache.c
index 4b801a8fc0..2659a8d8c4 100644
--- a/src/bin/efreet/efreetd_cache.c
+++ b/src/bin/efreet/efreetd_cache.c
@@ -698,6 +698,7 @@ icon_changes_listen(void)
698 } 698 }
699#endif 699#endif
700 eina_inarray_flush(stack); 700 eina_inarray_flush(stack);
701 icon_changes_listen_recursive(stack, "/usr/local/share/pixmaps", EINA_TRUE);
701 icon_changes_listen_recursive(stack, "/usr/share/pixmaps", EINA_TRUE); 702 icon_changes_listen_recursive(stack, "/usr/share/pixmaps", EINA_TRUE);
702 eina_inarray_free(stack); 703 eina_inarray_free(stack);
703 eina_strbuf_free(buf); 704 eina_strbuf_free(buf);