summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-04 13:43:40 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-04 13:44:30 +0000
commit6899bd034c89ef10a48055d00fe033ef654e7268 (patch)
tree184185876ecb8ab67f31f96539e7c1bb4a702fb8
parent9da41a50cb3e149f15e61b44223bcb24a09d809c (diff)
downloadefl-6899bd034c89ef10a48055d00fe033ef654e7268.tar.gz
elm conffig - display icons if using elm icon theme
also use different sample icons i think work better
-rw-r--r--src/bin/elementary/config.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/bin/elementary/config.c b/src/bin/elementary/config.c
index 70c9a519f1..1131437849 100644
--- a/src/bin/elementary/config.c
+++ b/src/bin/elementary/config.c
@@ -1591,7 +1591,9 @@ _icon_preview_icon_add(const char *icon, const char *theme)
elm_box_pack_end(icon_preview_frame, ic);
evas_object_show(ic);
- if (strcmp(theme, ELM_CONFIG_ICON_THEME_ELEMENTARY))
+ if (!strcmp(theme, ELM_CONFIG_ICON_THEME_ELEMENTARY))
+ elm_icon_standard_set(ic, icon);
+ else
elm_image_file_set(ic, efreet_icon_path_find(theme, icon, 48), NULL);
}
@@ -1602,9 +1604,9 @@ _icon_preview_update(Evas_Object *win)
const char **example_icon, *example_icons[] =
{
"folder",
- "user-home",
- "text-x-generic",
- "system-run",
+ "video-display",
+ "mail-unread",
+ "start-here",
"preferences-system",
NULL,
};