Bit of an API break for themes. The icon to tell you something is set is now enlightenment/check and not enlightenment/e. This gives a more logical display that something is set. Ive added the changed to blingbling too to maintain an icon in that spot. Other themes will need to create an icon called e/icon/enlightenment/check to get this working. It is used in the Adv theme selector, profiles, colours, fonts and language.
SVN revision: 36142
This commit is contained in:
parent
d99104e0be
commit
4a16cd4191
|
@ -107,6 +107,8 @@ images {
|
|||
image: "e17_icon_screensaver.png" COMP;
|
||||
|
||||
image: "e17_icon_window_remembers.png" COMP;
|
||||
|
||||
image: "e17_icon_check.png" COMP;
|
||||
}
|
||||
|
||||
group {
|
||||
|
@ -2270,6 +2272,25 @@ group {
|
|||
}
|
||||
}
|
||||
|
||||
group {
|
||||
name: "e/icons/enlightenment/check";
|
||||
max: 64 64;
|
||||
parts {
|
||||
part {
|
||||
name: "icon";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: BOTH;
|
||||
max: 64 64;
|
||||
image {
|
||||
normal: "e17_icon_check.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
|
@ -501,7 +501,7 @@ _load_color_classes(Evas_Object *obj, E_Config_Dialog_Data *cfdata)
|
|||
if (cfc->enabled)
|
||||
{
|
||||
icon = edje_object_add(evas_object_evas_get(obj));
|
||||
e_util_edje_icon_set(icon, "enlightenment/e");
|
||||
e_util_edje_icon_set(icon, "enlightenment/check");
|
||||
}
|
||||
else
|
||||
icon = NULL;
|
||||
|
@ -542,7 +542,7 @@ _radio_cb_change(void *data, Evas_Object *obj, void *event_info)
|
|||
if (c->enabled)
|
||||
{
|
||||
icon = edje_object_add(evas_object_evas_get(cfdata->gui.ilist));
|
||||
e_util_edje_icon_set(icon, "enlightenment/e");
|
||||
e_util_edje_icon_set(icon, "enlightenment/check");
|
||||
}
|
||||
else
|
||||
icon = NULL;
|
||||
|
|
|
@ -736,7 +736,7 @@ _class_list_load(E_Config_Dialog_Data *cfdata)
|
|||
if (tc->enabled)
|
||||
{
|
||||
ic = edje_object_add(evas);
|
||||
e_util_edje_icon_set(ic, "enlightenment/e");
|
||||
e_util_edje_icon_set(ic, "enlightenment/check");
|
||||
}
|
||||
else
|
||||
ic = NULL;
|
||||
|
|
|
@ -1358,7 +1358,7 @@ _lang_list_load(void *data)
|
|||
Evas_Object *ic;
|
||||
|
||||
ic = edje_object_add(cfdata->evas);
|
||||
e_util_edje_icon_set(ic, "enlightenment/e");
|
||||
e_util_edje_icon_set(ic, "enlightenment/check");
|
||||
e_widget_ilist_append(cfdata->gui.lang_list, ic, trans, NULL, NULL, ln->lang_code);
|
||||
}
|
||||
else
|
||||
|
|
|
@ -131,7 +131,7 @@ _ilist_fill(E_Config_Dialog_Data *cfdata)
|
|||
e_widget_ilist_append(cfdata->o_list, ob, l->data, _ilist_cb_selected, cfdata, l->data);
|
||||
if (!strcmp (cur_profile, l->data))
|
||||
{
|
||||
e_util_edje_icon_set(ob, "enlightenment/e");
|
||||
e_util_edje_icon_set(ob, "enlightenment/check");
|
||||
e_widget_ilist_selected_set(cfdata->o_list, e_widget_ilist_count(cfdata->o_list));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -827,7 +827,7 @@ _fill_categories_ilist(E_Config_Dialog_Data *cfdata)
|
|||
if (theme->file)
|
||||
{
|
||||
ic = edje_object_add(evas);
|
||||
e_util_edje_icon_set(ic, "enlightenment/e");
|
||||
e_util_edje_icon_set(ic, "enlightenment/check");
|
||||
}
|
||||
e_widget_ilist_append(o, ic, theme->category + 11, NULL, NULL, NULL);
|
||||
themes = themes->next;
|
||||
|
|
Loading…
Reference in New Issue