raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6899bd034c89ef10a48055d00fe033ef654e7268

commit 6899bd034c89ef10a48055d00fe033ef654e7268
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Mar 4 13:43:40 2021 +0000

    elm conffig - display icons if using elm icon theme
    
    also use different sample icons i think work better
---
 src/bin/elementary/config.c | 10 ++++++----
 1 file 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,
    };

-- 


Reply via email to