forked from enlightenment/enlightenment
parent
71bf6c573d
commit
050f1fe5b2
|
@ -37,6 +37,7 @@ images {
|
||||||
|
|
||||||
image: "e17_icon_window_focus.png" LOSSY 90;
|
image: "e17_icon_window_focus.png" LOSSY 90;
|
||||||
image: "e17_icon_screen_resolution.png" LOSSY 90;
|
image: "e17_icon_screen_resolution.png" LOSSY 90;
|
||||||
|
image: "e17_icon_regenerate_menus.png" LOSSY 90;
|
||||||
|
|
||||||
image: "e17_pager_window.png" COMP;
|
image: "e17_pager_window.png" COMP;
|
||||||
|
|
||||||
|
@ -855,6 +856,25 @@ group {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
group {
|
||||||
|
name: "e/icons/enlightenment/regenerate_menus";
|
||||||
|
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_regenerate_menus.png";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
group {
|
group {
|
||||||
name: "e/icons/enlightenment/screen_resolution";
|
name: "e/icons/enlightenment/screen_resolution";
|
||||||
max: 64 64;
|
max: 64 64;
|
||||||
|
|
|
@ -507,4 +507,5 @@ e17_icon_suspend.png \
|
||||||
e17_icon_halt.png \
|
e17_icon_halt.png \
|
||||||
e17_icon_reboot.png \
|
e17_icon_reboot.png \
|
||||||
e17_trans1.png \
|
e17_trans1.png \
|
||||||
e17_trans2.png
|
e17_trans2.png \
|
||||||
|
e17_icon_regenerate_menus.png
|
||||||
|
|
Binary file not shown.
|
@ -196,7 +196,7 @@ _e_config_dialog_go(E_Config_Dialog *cfd, E_Config_Dialog_CFData_Type type)
|
||||||
if (!cfd->hide_buttons)
|
if (!cfd->hide_buttons)
|
||||||
{
|
{
|
||||||
e_dialog_button_add(cfd->dia, _("OK"), NULL, _e_config_dialog_cb_ok, cfd);
|
e_dialog_button_add(cfd->dia, _("OK"), NULL, _e_config_dialog_cb_ok, cfd);
|
||||||
e_dialog_button_add(cfd->dia, _("Apply"), NULL, _e_config_dialog_cb_apply, cfd);
|
e_dialog_button_add(cfd->dia, _("Apply"), "widget/apply", _e_config_dialog_cb_apply, cfd);
|
||||||
if (!cfd->cfg_changed)
|
if (!cfd->cfg_changed)
|
||||||
{
|
{
|
||||||
e_dialog_button_disable_num_set(cfd->dia, 0, 1);
|
e_dialog_button_disable_num_set(cfd->dia, 0, 1);
|
||||||
|
|
|
@ -558,7 +558,8 @@ _cb_button_regen(void *data1, void *data2)
|
||||||
"<br>"
|
"<br>"
|
||||||
"Are you sure you want to do this?"
|
"Are you sure you want to do this?"
|
||||||
));
|
));
|
||||||
e_dialog_icon_set(_e_int_config_apps_regen_dialog, "enlightenment/regen", 64);
|
e_dialog_border_icon_set(_e_int_config_apps_regen_dialog,"enlightenment/regenerate_menus");
|
||||||
|
e_dialog_icon_set(_e_int_config_apps_regen_dialog, "enlightenment/regenerate_menus", 64);
|
||||||
e_dialog_button_add(_e_int_config_apps_regen_dialog, _("Yes"), NULL,
|
e_dialog_button_add(_e_int_config_apps_regen_dialog, _("Yes"), NULL,
|
||||||
_e_int_config_apps_cb_regen_dialog_ok, NULL);
|
_e_int_config_apps_cb_regen_dialog_ok, NULL);
|
||||||
e_dialog_button_add(_e_int_config_apps_regen_dialog, _("No"), NULL,
|
e_dialog_button_add(_e_int_config_apps_regen_dialog, _("No"), NULL,
|
||||||
|
@ -740,7 +741,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
*/
|
*/
|
||||||
if (!once)
|
if (!once)
|
||||||
{
|
{
|
||||||
mt = e_widget_button_add(evas, _("Regenerate \"Applications\" Menu"), "enlightenment/e",
|
mt = e_widget_button_add(evas, _("Regenerate \"Applications\" Menu"), "enlightenment/regenerate_menus",
|
||||||
_cb_button_regen, cfdata, NULL);
|
_cb_button_regen, cfdata, NULL);
|
||||||
cfdata->gui.o_regen_button = mt;
|
cfdata->gui.o_regen_button = mt;
|
||||||
e_widget_framelist_object_append(of, mt);
|
e_widget_framelist_object_append(of, mt);
|
||||||
|
|
Loading…
Reference in New Issue