forked from enlightenment/enlightenment
parent
31a13f4cd6
commit
945b34dc21
|
@ -1163,8 +1163,7 @@ e_app_fields_fill(E_App *a, const char *path)
|
|||
if (desktop->icon_class) a->icon_class = evas_stringshare_add(desktop->icon_class);
|
||||
if (desktop->icon_path) a->icon_path = evas_stringshare_add(desktop->icon_path);
|
||||
if (desktop->window_class) a->win_class = evas_stringshare_add(desktop->window_class);
|
||||
if (desktop->startup)
|
||||
a->startup_notify = *(desktop->startup);
|
||||
a->startup_notify = desktop->startup;
|
||||
|
||||
// if (desktop->type) a->type = evas_stringshare_add(desktop->type);
|
||||
// if (desktop->categories) a->categories = evas_stringshare_add(desktop->categories);
|
||||
|
@ -1292,10 +1291,7 @@ e_app_fields_save(E_App *a)
|
|||
desktop->icon_class = (char *) a->icon_class;
|
||||
desktop->icon_path = (char *) a->icon_path;
|
||||
desktop->window_class = (char *) a->win_class;
|
||||
if (a->startup_notify)
|
||||
desktop->startup = "1";
|
||||
else
|
||||
desktop->startup = "0";
|
||||
desktop->startup = a->startup_notify;
|
||||
|
||||
desktop->type = "Application";
|
||||
// desktop.categories = a->categories;
|
||||
|
|
|
@ -99,7 +99,7 @@ _e_menu_dump_each_hash_node(void *value, void *user_data)
|
|||
// item_count++;
|
||||
desktop = ecore_desktop_get(file, NULL);
|
||||
/* Check If We Process */
|
||||
if ((!desktop->type) || (!strcmp(desktop->type, "Application")))
|
||||
if ( (!desktop->hidden) && (!desktop->no_display) && ((desktop->type == NULL) || (strcmp(desktop->type, "Application") == 0)) )
|
||||
{
|
||||
char order_path[PATH_MAX];
|
||||
int length;
|
||||
|
|
Loading…
Reference in New Issue