Correct the icon for the dialog.

Correct the name for the button.
Focus the button.
(From ilLogict).


SVN revision: 17201
This commit is contained in:
sebastid 2005-10-05 16:44:41 +00:00 committed by sebastid
parent e41123e285
commit 3902aa20ea
1 changed files with 3 additions and 2 deletions

View File

@ -382,9 +382,10 @@ e_module_dialog_show(char *title, char *body)
if (!dia) return;
e_dialog_title_set(dia, title);
e_dialog_icon_set(dia, "enlightenment/e", 64);
e_dialog_icon_set(dia, "enlightenment/modules", 64);
e_dialog_text_set(dia, body);
e_dialog_button_add(dia, _("Ok"), NULL, NULL, NULL);
e_dialog_button_add(dia, _("OK"), NULL, NULL, NULL);
e_dialog_button_focus_num(dia, 0);
e_win_centered_set(dia->win, 1);
e_dialog_show(dia);
}