forked from enlightenment/efl
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
This commit is contained in:
parent
d764e0b279
commit
0b6aade84d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue