forked from enlightenment/enlightenment
ICON: enlightenment/themes -> preferences-desktop-theme
SVN revision: 39373
This commit is contained in:
parent
f64a04ec46
commit
2904ca6d46
|
@ -22710,7 +22710,7 @@ ICON("enlightenment/reboot","icon_reboot.png",128)
|
||||||
ICON("enlightenment/suspend","icon_suspend.png",128)
|
ICON("enlightenment/suspend","icon_suspend.png",128)
|
||||||
ICON("enlightenment/hibernate","icon_hibernate.png",128)
|
ICON("enlightenment/hibernate","icon_hibernate.png",128)
|
||||||
ICON("enlightenment/colors","icon_colors.png",64)
|
ICON("enlightenment/colors","icon_colors.png",64)
|
||||||
ICON("enlightenment/themes","icon_theme.png",64)
|
//ICON("enlightenment/themes","icon_theme.png",64) TODO some still around.....
|
||||||
ICON("enlightenment/screen_setup","icon_screen_setup.png",64)
|
ICON("enlightenment/screen_setup","icon_screen_setup.png",64)
|
||||||
ICON("enlightenment/windows","icon_windows.png",64)
|
ICON("enlightenment/windows","icon_windows.png",64)
|
||||||
ICON("enlightenment/showhide","icon_windows.png",64)
|
ICON("enlightenment/showhide","icon_windows.png",64)
|
||||||
|
|
|
@ -26,5 +26,5 @@ EAPI void
|
||||||
e_theme_about_show(E_Theme_About *about)
|
e_theme_about_show(E_Theme_About *about)
|
||||||
{
|
{
|
||||||
e_obj_dialog_show((E_Obj_Dialog *)about);
|
e_obj_dialog_show((E_Obj_Dialog *)about);
|
||||||
e_obj_dialog_icon_set((E_Obj_Dialog *)about, "enlightenment/themes");
|
e_obj_dialog_icon_set((E_Obj_Dialog *)about, "preferences-desktop-theme");
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,9 +70,9 @@ e_widget_button_add(Evas *evas, const char *label, const char *icon, void (*func
|
||||||
|
|
||||||
if (icon)
|
if (icon)
|
||||||
{
|
{
|
||||||
o = edje_object_add(evas);
|
o = e_icon_add(evas);
|
||||||
wd->o_icon = o;
|
wd->o_icon = o;
|
||||||
e_util_edje_icon_set(o, icon);
|
e_util_icon_theme_set(o, icon);
|
||||||
edje_object_part_swallow(wd->o_button, "e.swallow.icon", o);
|
edje_object_part_swallow(wd->o_button, "e.swallow.icon", o);
|
||||||
e_widget_sub_object_add(obj, o);
|
e_widget_sub_object_add(obj, o);
|
||||||
evas_object_show(o);
|
evas_object_show(o);
|
||||||
|
|
|
@ -345,14 +345,13 @@ _e_configure_category_cb(void *data, void *data2)
|
||||||
if (!ci) continue;
|
if (!ci) continue;
|
||||||
if (ci->icon)
|
if (ci->icon)
|
||||||
{
|
{
|
||||||
if (e_util_edje_icon_check(ci->icon))
|
o = e_icon_add(eco->evas);
|
||||||
|
if (!e_util_icon_theme_set(o, ci->icon))
|
||||||
{
|
{
|
||||||
o = edje_object_add(eco->evas);
|
evas_object_del(o);
|
||||||
e_util_edje_icon_set(o, ci->icon);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
o = e_util_icon_add(ci->icon, eco->evas);
|
o = e_util_icon_add(ci->icon, eco->evas);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
e_widget_ilist_append(eco->item_list, o, ci->label, _e_configure_item_cb, ci, NULL);
|
e_widget_ilist_append(eco->item_list, o, ci->label, _e_configure_item_cb, ci, NULL);
|
||||||
}
|
}
|
||||||
e_widget_ilist_go(eco->item_list);
|
e_widget_ilist_go(eco->item_list);
|
||||||
|
|
|
@ -60,7 +60,7 @@ e_int_config_theme(E_Container *con, const char *params __UNUSED__)
|
||||||
cfd = e_config_dialog_new(con,
|
cfd = e_config_dialog_new(con,
|
||||||
_("Theme Selector"),
|
_("Theme Selector"),
|
||||||
"E", "_config_theme_dialog",
|
"E", "_config_theme_dialog",
|
||||||
"enlightenment/themes", 0, v, NULL);
|
"preferences-desktop-theme", 0, v, NULL);
|
||||||
return cfd;
|
return cfd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -393,7 +393,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
of = e_widget_list_add(evas, 0, 0);
|
of = e_widget_list_add(evas, 0, 0);
|
||||||
|
|
||||||
il = e_widget_list_add(evas, 0, 1);
|
il = e_widget_list_add(evas, 0, 1);
|
||||||
o = e_widget_button_add(evas, _(" Import..."), "enlightenment/themes",
|
o = e_widget_button_add(evas, _(" Import..."), "preferences-desktop-theme",
|
||||||
_cb_import, cfdata, NULL);
|
_cb_import, cfdata, NULL);
|
||||||
e_widget_list_object_append(il, o, 1, 0, 0.5);
|
e_widget_list_object_append(il, o, 1, 0, 0.5);
|
||||||
#ifdef HAVE_EXCHANGE
|
#ifdef HAVE_EXCHANGE
|
||||||
|
@ -755,8 +755,8 @@ _ilist_files_add(E_Config_Dialog_Data *cfdata, const char *header, const char *d
|
||||||
|
|
||||||
if (_theme_file_used(cfdata->theme_list, themefiles->data))
|
if (_theme_file_used(cfdata->theme_list, themefiles->data))
|
||||||
{
|
{
|
||||||
ic = edje_object_add(evas);
|
ic = e_icon_add(evas);
|
||||||
e_util_edje_icon_set(ic, "enlightenment/themes");
|
e_util_icon_theme_set(ic, "preferences-desktop-theme");
|
||||||
}
|
}
|
||||||
tmp = strdup(strrchr(themefiles->data, '/') + 1);
|
tmp = strdup(strrchr(themefiles->data, '/') + 1);
|
||||||
strncpy(themename, tmp, strlen(tmp) - 3);
|
strncpy(themename, tmp, strlen(tmp) - 3);
|
||||||
|
@ -871,8 +871,8 @@ _cb_adv_btn_assign(void *data1, void *data2)
|
||||||
newtheme->category = strdup(buf);
|
newtheme->category = strdup(buf);
|
||||||
|
|
||||||
n = e_widget_ilist_selected_get(of);
|
n = e_widget_ilist_selected_get(of);
|
||||||
ic = edje_object_add(evas);
|
ic = e_icon_add(evas);
|
||||||
e_util_edje_icon_set(ic, "enlightenment/themes");
|
e_util_icon_theme_set(ic, "preferences-desktop-theme");
|
||||||
e_widget_ilist_nth_icon_set(of, n, ic);
|
e_widget_ilist_nth_icon_set(of, n, ic);
|
||||||
newtheme->file = _files_ilist_nth_label_to_file(cfdata, n);
|
newtheme->file = _files_ilist_nth_label_to_file(cfdata, n);
|
||||||
|
|
||||||
|
|
|
@ -134,7 +134,7 @@ e_int_config_theme_import(E_Config_Dialog *parent)
|
||||||
e_win_size_min_set(win, w, h);
|
e_win_size_min_set(win, w, h);
|
||||||
e_win_size_max_set(win, 99999, 99999);
|
e_win_size_max_set(win, 99999, 99999);
|
||||||
e_win_show(win);
|
e_win_show(win);
|
||||||
e_win_border_icon_set(win, "enlightenment/themes");
|
e_win_border_icon_set(win, "preferences-desktop-theme");
|
||||||
|
|
||||||
win->data = import;
|
win->data = import;
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ EAPI void *
|
||||||
e_modapi_init(E_Module *m)
|
e_modapi_init(E_Module *m)
|
||||||
{
|
{
|
||||||
e_configure_registry_category_add("appearance", 10, _("Look"), NULL, "enlightenment/appearance");
|
e_configure_registry_category_add("appearance", 10, _("Look"), NULL, "enlightenment/appearance");
|
||||||
e_configure_registry_item_add("appearance/theme", 20, _("Theme"), NULL, "enlightenment/themes", e_int_config_theme);
|
e_configure_registry_item_add("appearance/theme", 20, _("Theme"), NULL, "preferences-desktop-theme", e_int_config_theme);
|
||||||
maug = e_int_menus_menu_augmentation_add("config/1", _e_mod_menu_add, NULL, NULL, NULL);
|
maug = e_int_menus_menu_augmentation_add("config/1", _e_mod_menu_add, NULL, NULL, NULL);
|
||||||
|
|
||||||
conf_module = m;
|
conf_module = m;
|
||||||
|
|
|
@ -13,7 +13,7 @@ Name[pt]=
|
||||||
Name[pt_BR]=
|
Name[pt_BR]=
|
||||||
Name[zh_CN]=
|
Name[zh_CN]=
|
||||||
Name[zh_TW]=
|
Name[zh_TW]=
|
||||||
Icon=e-module-conf_theme
|
Icon=preferences-desktop-theme
|
||||||
Comment=<title>E17 Settings Applet</title><br>Used to configure your theme preferences.
|
Comment=<title>E17 Settings Applet</title><br>Used to configure your theme preferences.
|
||||||
Comment[cs]=<title>E17 applet nastavení</title><br>Použit k nastavení vašeho tématu.
|
Comment[cs]=<title>E17 applet nastavení</title><br>Použit k nastavení vašeho tématu.
|
||||||
Comment[de]=
|
Comment[de]=
|
||||||
|
|
Loading…
Reference in New Issue