From 16decad1aa91227f016a641bf19a22bc2d55169c Mon Sep 17 00:00:00 2001 From: dimmus Date: Wed, 15 Nov 2023 19:06:20 +0500 Subject: [PATCH] elm-config: add icons to menu Some menu items of elementary_config have no icons. So add some. Not the best design solution, but better than nothing. Activated i-utilities icon. Only the icons that were already in efl were used. @fixed --- data/elementary/themes/edc/icons.edc | 1 + data/elementary/themes/ic.edc | 2 +- src/bin/elementary/config.c | 15 ++++++++++----- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/data/elementary/themes/edc/icons.edc b/data/elementary/themes/edc/icons.edc index fc538bd64e..c1819edb6a 100644 --- a/data/elementary/themes/edc/icons.edc +++ b/data/elementary/themes/edc/icons.edc @@ -889,6 +889,7 @@ ICON("preferences-desktop-screensaver", "i-screen") ICON("preferences-desktop-wallpaper", "i-picture-landscape") ICON("preferences-system", "i-gear") ICON("preferences-other", "i-gear-spanner") +ICON("preferences-etc", "i-utilities") ICON("system-file-manager", "i-folder") ICON("applications-accessories", "i-scissor-rule") ICON("applications-development", "i-gear-curly-braces") diff --git a/data/elementary/themes/ic.edc b/data/elementary/themes/ic.edc index 766eb4de50..937345d0eb 100644 --- a/data/elementary/themes/ic.edc +++ b/data/elementary/themes/ic.edc @@ -360,7 +360,7 @@ I160("i-monitor-speakers", "monitor-speakers") I160("i-briefcase", "briefcase") I160("i-app-window", "app-window") I160("i-beaker", "beaker") -// not used yet I160("i-utilities", "utilities") +I160("i-utilities", "utilities") I160("i-sun", "sun") I160("i-moon", "moon") I160("i-moon-clouds", "moon-clouds") diff --git a/src/bin/elementary/config.c b/src/bin/elementary/config.c index d3ee165573..ced93bd32c 100644 --- a/src/bin/elementary/config.c +++ b/src/bin/elementary/config.c @@ -4383,11 +4383,16 @@ _status_config_full(Evas_Object *win, "Audio", _cf_audio, win); elm_toolbar_item_append(tb, "preferences-profile", "Profiles", _cf_profiles, win); - elm_toolbar_item_append(tb, NULL, "Scrolling", _cf_scrolling, win); - elm_toolbar_item_append(tb, NULL, "Rendering", _cf_rendering, win); - elm_toolbar_item_append(tb, NULL, "Caches", _cf_caches, win); - elm_toolbar_item_append(tb, NULL, "Focus", _cf_focus, win); - elm_toolbar_item_append(tb, NULL, "Etc", _cf_etc, win); + elm_toolbar_item_append(tb, "system-run", + "Scrolling", _cf_scrolling, win); + elm_toolbar_item_append(tb, "preferences-desktop", + "Rendering", _cf_rendering, win); + elm_toolbar_item_append(tb, "appointment-new", + "Caches", _cf_caches, win); + elm_toolbar_item_append(tb, "magnifying-glass", + "Focus", _cf_focus, win); + elm_toolbar_item_append(tb, "preferences-etc", + "Etc", _cf_etc, win); elm_box_pack_end(bx0, tb); evas_object_show(tb);