e - systray - add more sizes to icon hunt to fix missing icons

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.
devs/stefan/wl-session-recovery
Carsten Haitzler 8 years ago
parent 5404adc54f
commit 2e00876a40
  1. 2
      src/modules/systray/e_mod_notifier_host.c

@ -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;

Loading…
Cancel
Save