forked from enlightenment/enlightenment
parent
3f6de08866
commit
5db379c480
|
@ -559,9 +559,16 @@ _e_border_menu_cb_icon_edit(void *data, E_Menu *m, E_Menu_Item *mi)
|
|||
{
|
||||
if (bname)
|
||||
{
|
||||
snprintf(path, sizeof(path), "%s/.e/e/applications/all/%s.desktop", getenv("HOME"), bname);
|
||||
char *homedir;
|
||||
|
||||
homedir = e_user_homedir_get();
|
||||
if (homedir)
|
||||
{
|
||||
snprintf(path, sizeof(path), "%s/.e/e/applications/all/%s.desktop", homedir, bname);
|
||||
free(homedir);
|
||||
a = e_app_empty_new(path);
|
||||
}
|
||||
}
|
||||
else
|
||||
a = e_app_empty_new(NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue