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