diff options
author | toma <toma> | 2008-09-21 07:43:46 +0000 |
---|---|---|
committer | toma <toma@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33> | 2008-09-21 07:43:46 +0000 |
commit | 4a16cd4191ec353129e8ce1de92a6370e882ee5a (patch) | |
tree | 95ee4783278aee786f74990d15cf503c9ffb265a | |
parent | d99104e0be6d39228e821b8f97df452357acece2 (diff) | |
download | enlightenment-4a16cd4191ec353129e8ce1de92a6370e882ee5a.tar.gz |
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
-rw-r--r-- | data/themes/default_icons.edc | 21 | ||||
-rw-r--r-- | data/themes/images/e17_icon_check.png | bin | 0 -> 3864 bytes | |||
-rw-r--r-- | src/modules/conf_colors/e_int_config_color_classes.c | 4 | ||||
-rw-r--r-- | src/modules/conf_fonts/e_int_config_fonts.c | 2 | ||||
-rw-r--r-- | src/modules/conf_intl/e_int_config_intl.c | 2 | ||||
-rw-r--r-- | src/modules/conf_profiles/e_int_config_profiles.c | 2 | ||||
-rw-r--r-- | src/modules/conf_theme/e_int_config_theme.c | 2 |
7 files changed, 27 insertions, 6 deletions
diff --git a/data/themes/default_icons.edc b/data/themes/default_icons.edc index 08d88255f6..4631f005ea 100644 --- a/data/themes/default_icons.edc +++ b/data/themes/default_icons.edc @@ -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"; + } + } + } + } +} diff --git a/data/themes/images/e17_icon_check.png b/data/themes/images/e17_icon_check.png Binary files differnew file mode 100644 index 0000000000..f9a606041a --- /dev/null +++ b/data/themes/images/e17_icon_check.png diff --git a/src/modules/conf_colors/e_int_config_color_classes.c b/src/modules/conf_colors/e_int_config_color_classes.c index e93a7affad..387cca650a 100644 --- a/src/modules/conf_colors/e_int_config_color_classes.c +++ b/src/modules/conf_colors/e_int_config_color_classes.c @@ -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; diff --git a/src/modules/conf_fonts/e_int_config_fonts.c b/src/modules/conf_fonts/e_int_config_fonts.c index 2fbe77f93f..f929c39c9d 100644 --- a/src/modules/conf_fonts/e_int_config_fonts.c +++ b/src/modules/conf_fonts/e_int_config_fonts.c @@ -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; diff --git a/src/modules/conf_intl/e_int_config_intl.c b/src/modules/conf_intl/e_int_config_intl.c index 1384048c08..5832564a5b 100644 --- a/src/modules/conf_intl/e_int_config_intl.c +++ b/src/modules/conf_intl/e_int_config_intl.c @@ -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 diff --git a/src/modules/conf_profiles/e_int_config_profiles.c b/src/modules/conf_profiles/e_int_config_profiles.c index 216a114396..8c79576768 100644 --- a/src/modules/conf_profiles/e_int_config_profiles.c +++ b/src/modules/conf_profiles/e_int_config_profiles.c @@ -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)); } } diff --git a/src/modules/conf_theme/e_int_config_theme.c b/src/modules/conf_theme/e_int_config_theme.c index efa0af6dfa..a76e255c83 100644 --- a/src/modules/conf_theme/e_int_config_theme.c +++ b/src/modules/conf_theme/e_int_config_theme.c @@ -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; |