diff options
author | toma <toma> | 2008-10-12 06:04:26 +0000 |
---|---|---|
committer | toma <toma@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33> | 2008-10-12 06:04:26 +0000 |
commit | a3c3d2c23f5079395833378509bfd3ff0032b44d (patch) | |
tree | 957c86f8e57eeacd43c00facc284abc8317cedb5 /src/modules | |
parent | 26b566f721ee172130927e0bdac3fa378dedba23 (diff) | |
download | enlightenment-a3c3d2c23f5079395833378509bfd3ff0032b44d.tar.gz |
Icon work. HUGE revision of icons and their names. This breaks the icon theme API so you might need to revise some themes. It does however, simplify a whole lot of stuff. You'll notice a lot more icons in menus. This bigger changes will come with the new theme once it is done. The missing icon names are put in b_and_w theme for now so if you need them, look them up. Also a bit of base work for EFM and the border icons in there. Commented out till the old icons are merged in. Message me if anything is screwed up.
SVN revision: 36591
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/battery/e_mod_main.c | 2 | ||||
-rw-r--r-- | src/modules/conf_desklock/e_int_config_desklock.c | 2 | ||||
-rw-r--r-- | src/modules/conf_wallpaper/e_int_config_wallpaper_gradient.c | 2 | ||||
-rw-r--r-- | src/modules/ibar/e_mod_main.c | 14 | ||||
-rw-r--r-- | src/modules/ibox/e_mod_main.c | 4 | ||||
-rw-r--r-- | src/modules/mixer/e_mod_main.c | 2 | ||||
-rw-r--r-- | src/modules/pager/e_mod_main.c | 4 | ||||
-rw-r--r-- | src/modules/temperature/e_mod_main.c | 2 |
8 files changed, 16 insertions, 16 deletions
diff --git a/src/modules/battery/e_mod_main.c b/src/modules/battery/e_mod_main.c index 74dbe5dccc..2fc1316c77 100644 --- a/src/modules/battery/e_mod_main.c +++ b/src/modules/battery/e_mod_main.c @@ -170,7 +170,7 @@ _button_cb_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info) mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Configuration")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); + e_util_menu_item_edje_icon_set(mi, "widget/config"); e_menu_item_callback_set(mi, _battery_face_cb_menu_configure, NULL); e_gadcon_client_util_menu_items_append(inst->gcc, mn, 0); diff --git a/src/modules/conf_desklock/e_int_config_desklock.c b/src/modules/conf_desklock/e_int_config_desklock.c index a0c9f171f6..c1077daa55 100644 --- a/src/modules/conf_desklock/e_int_config_desklock.c +++ b/src/modules/conf_desklock/e_int_config_desklock.c @@ -197,7 +197,7 @@ _adv_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) e_widget_table_object_append(rt, ow, 1, 0, 1, 1, 1, 1, 0, 0); e_widget_table_object_append(ft, rt, 0, 0, 1, 1, 0, 0, 0, 0); cfdata->o_btn = e_widget_button_add(evas, _("Go up a Directory"), - "widgets/up_dir", _cb_button_up, + "widget/up_dir", _cb_button_up, cfdata, NULL); e_widget_table_object_append(ft, cfdata->o_btn, 0, 1, 1, 1, 0, 0, 0, 0); diff --git a/src/modules/conf_wallpaper/e_int_config_wallpaper_gradient.c b/src/modules/conf_wallpaper/e_int_config_wallpaper_gradient.c index 7216dfed11..9f4b1cf00c 100644 --- a/src/modules/conf_wallpaper/e_int_config_wallpaper_gradient.c +++ b/src/modules/conf_wallpaper/e_int_config_wallpaper_gradient.c @@ -145,7 +145,7 @@ e_int_config_wallpaper_gradient(E_Config_Dialog *parent) e_widget_table_object_append(ott, o, 1, 2, 1, 1, 1, 1, 1, 1); import->well2 = o; - o = e_widget_button_add(evas, "Swap Colors", "enlightenment/swap", _import_cb_color_swap, import, NULL); + o = e_widget_button_add(evas, "Swap Colors", "widget/swap", _import_cb_color_swap, import, NULL); evas_object_show(o); e_widget_table_object_append(ott, o, 1, 3, 1, 1, 1, 1, 1, 1); diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index be8641c951..e563541c99 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -313,7 +313,7 @@ _ibar_cb_empty_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_inf mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Configuration")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); + e_util_menu_item_edje_icon_set(mi, "widget/config"); e_menu_item_callback_set(mi, _ibar_cb_menu_configuration, b); mi = e_menu_item_new(mn); @@ -795,12 +795,12 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info /* FIXME: other icon options go here too */ mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Change Icon Properties")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/properties"); + e_util_menu_item_edje_icon_set(mi, "widget/config"); e_menu_item_callback_set(mi, _ibar_cb_menu_icon_properties, ic); mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Remove Icon")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/delete"); + e_util_menu_item_edje_icon_set(mi, "widget/del"); e_menu_item_callback_set(mi, _ibar_cb_menu_icon_remove, ic); mi = e_menu_item_new(mn); @@ -810,14 +810,14 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info { mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Add An Icon")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/ibar_applications"); + e_util_menu_item_edje_icon_set(mi, "widget/add"); e_menu_item_callback_set(mi, _ibar_cb_menu_icon_add, NULL); } if (e_configure_registry_exists("applications/new_application")) { mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Create New Icon")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/new_application"); + e_util_menu_item_edje_icon_set(mi, "widget/new"); e_menu_item_callback_set(mi, _ibar_cb_menu_icon_new, NULL); mi = e_menu_item_new(mn); @@ -826,14 +826,14 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Configuration")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); + e_util_menu_item_edje_icon_set(mi, "widget/config"); e_menu_item_callback_set(mi, _ibar_cb_menu_configuration, ic->ibar); if (e_configure_registry_exists("applications/ibar_applications")) { mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Add Application")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/add"); + e_util_menu_item_edje_icon_set(mi, "widget/add"); e_menu_item_callback_set(mi, _ibar_cb_menu_add, ic->ibar); } diff --git a/src/modules/ibox/e_mod_main.c b/src/modules/ibox/e_mod_main.c index 39fc99a8ba..a24d239f1d 100644 --- a/src/modules/ibox/e_mod_main.c +++ b/src/modules/ibox/e_mod_main.c @@ -307,7 +307,7 @@ _ibox_cb_empty_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_inf mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Configuration")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); + e_util_menu_item_edje_icon_set(mi, "widget/config"); e_menu_item_callback_set(mi, _ibox_cb_menu_configuration, b); mi = e_menu_item_new(mn); @@ -705,7 +705,7 @@ _ibox_cb_icon_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info /* FIXME: other icon options go here too */ mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Configuration")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); + e_util_menu_item_edje_icon_set(mi, "widget/config"); e_menu_item_callback_set(mi, _ibox_cb_menu_configuration, ic->ibox); mi = e_menu_item_new(mn); diff --git a/src/modules/mixer/e_mod_main.c b/src/modules/mixer/e_mod_main.c index 7a4b6ca50c..609eba5d98 100644 --- a/src/modules/mixer/e_mod_main.c +++ b/src/modules/mixer/e_mod_main.c @@ -665,7 +665,7 @@ _mixer_menu_new(E_Mixer_Instance *inst, Evas_Event_Mouse_Down *ev) mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Configuration")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); + e_util_menu_item_edje_icon_set(mi, "widget/config"); e_menu_item_callback_set(mi, _mixer_menu_cb_cfg, inst); e_gadcon_client_util_menu_items_append(inst->gcc, mn, 0); diff --git a/src/modules/pager/e_mod_main.c b/src/modules/pager/e_mod_main.c index 9abcdcaf9e..71e75cd845 100644 --- a/src/modules/pager/e_mod_main.c +++ b/src/modules/pager/e_mod_main.c @@ -802,14 +802,14 @@ _button_cb_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info) mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Configuration")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); + e_util_menu_item_edje_icon_set(mi, "widget/config"); e_menu_item_callback_set(mi, _pager_inst_cb_menu_configure, NULL); if (e_configure_registry_exists("screen/virtual_desktops")) { mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Virtual Desktops Configuration")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/vdesktops"); + e_util_menu_item_edje_icon_set(mi, "enlightenment/desktops"); e_menu_item_callback_set(mi, _pager_inst_cb_menu_virtual_desktops_dialog, inst); } diff --git a/src/modules/temperature/e_mod_main.c b/src/modules/temperature/e_mod_main.c index 4bba28e94f..cc608df372 100644 --- a/src/modules/temperature/e_mod_main.c +++ b/src/modules/temperature/e_mod_main.c @@ -304,7 +304,7 @@ _temperature_face_cb_mouse_down(void *data, Evas *e, Evas_Object *obj, void *eve mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Configuration")); - e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); + e_util_menu_item_edje_icon_set(mi, "widget/config"); e_menu_item_callback_set(mi, _temperature_face_cb_menu_configure, inst); e_gadcon_client_util_menu_items_append(inst->gcc, mn, 0); |