e - systray - add more sizes to icon hunt to fix missing icons
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 21 Aug 2015 12:37:21 +0000 (21:37 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 21 Aug 2015 12:37:21 +0000 (21:37 +0900)
some systray indicator icons are not found because the sizes are not
in the list. fix this. this SHOULD actually use our existing efreet
icon theme finding to auto-switch file based on size changes.

src/modules/systray/e_mod_notifier_host.c

index 7c14b19..3fe3340 100644 (file)
@@ -80,7 +80,7 @@ image_load(const char *name, const char *path, Evas_Object *image)
         for (theme = themes; *theme; theme++)
           {
              struct stat st;
-             unsigned int *i, sizes[] = { 24, 32, 48, 64, 128, 256, 0 };
+             unsigned int *i, sizes[] = { 16, 22, 24, 32, 36, 40, 48, 64, 72, 96, 128, 192, 256, 512, 0 };
 
              snprintf(buf, sizeof(buf), "%s/%s", path, *theme);
              if (stat(buf, &st)) continue;