forked from enlightenment/enlightenment
If we Do have the eap, then we can set the dialog icon to it.
SVN revision: 23666
This commit is contained in:
parent
98336582fa
commit
cfcb069c8f
|
@ -368,7 +368,10 @@ e_module_dialog_show(E_Module *m, const char *title, const char *body)
|
|||
|
||||
e_dialog_title_set(dia, title);
|
||||
if (m)
|
||||
{
|
||||
snprintf(eap, sizeof(eap), "%s/module.eap", e_module_dir_get(m));
|
||||
_e_module_dialog_icon_set(dia, eap);
|
||||
}
|
||||
else
|
||||
e_dialog_icon_set(dia, "enlightenment/modules", 64);
|
||||
|
||||
|
@ -380,7 +383,6 @@ e_module_dialog_show(E_Module *m, const char *title, const char *body)
|
|||
if (!m) return;
|
||||
bd = dia->win->border;
|
||||
if (!bd) return;
|
||||
snprintf(eap, sizeof(eap), "%s/module.eap", e_module_dir_get(m));
|
||||
bd->module_eap = evas_stringshare_add(eap);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue