discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=0b6aade84db1e15b51daeb4e2584ed3b7df8bc86
commit 0b6aade84db1e15b51daeb4e2584ed3b7df8bc86 Author: Mike Blumenkrantz <[email protected]> Date: Tue Feb 27 18:32:59 2018 -0500 elm config: hide theme and profile config in gui when running in enlightenment put some small effort into preventing the user from destroying their config --- 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 a57410a311..35ed721694 100644 --- a/src/bin/elementary/config.c +++ b/src/bin/elementary/config.c @@ -4203,16 +4203,18 @@ _status_config_full(Evas_Object *win, tb_it = elm_toolbar_item_append(tb, "preferences-desktop-display", "Sizing", _cf_sizing, win); - elm_toolbar_item_append(tb, "preferences-desktop-theme", - "Theme", _cf_themes, win); + if (!eina_streq(getenv("DESKTOP"), "Enlightenment")) + elm_toolbar_item_append(tb, "preferences-desktop-theme", + "Theme", _cf_themes, win); elm_toolbar_item_append(tb, "preferences-color", "Icons", _cf_icons, win); elm_toolbar_item_append(tb, "preferences-desktop-font", "Fonts", _cf_fonts, win); elm_toolbar_item_append(tb, "preferences-desktop-multimedia", "Audio", _cf_audio, win); - elm_toolbar_item_append(tb, "preferences-profile", - "Profiles", _cf_profiles, win); + if (!eina_streq(getenv("DESKTOP"), "Enlightenment")) + 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); --
