|
|
|
|
@ -918,6 +918,8 @@ dictionary *yon_scan_desktops(){
|
|
|
|
|
}
|
|
|
|
|
if (apps_dict) return apps_dict;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static int scanned_size=0;
|
|
|
|
|
static apps *scanned_application = NULL;
|
|
|
|
|
apps *yon_apps_scan_and_parse_desktops(int *sizef)
|
|
|
|
|
{
|
|
|
|
|
@ -1009,6 +1011,7 @@ apps *yon_apps_scan_and_parse_desktops(int *sizef)
|
|
|
|
|
}
|
|
|
|
|
*sizef = size;
|
|
|
|
|
scanned_application = applist;
|
|
|
|
|
scanned_size=size;
|
|
|
|
|
return applist;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -1101,7 +1104,7 @@ char *yon_app_chooser_open_with_sections(char *section_name, char *section_filte
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
va_end(args);
|
|
|
|
|
int size;
|
|
|
|
|
int size=scanned_size;
|
|
|
|
|
apps *app_list = scanned_application ? scanned_application : yon_apps_scan_and_parse_desktops(&size);
|
|
|
|
|
int valid = gtk_tree_model_get_iter_first(GTK_TREE_MODEL(store),&iter);
|
|
|
|
|
for (; valid; valid = gtk_tree_model_iter_next(GTK_TREE_MODEL(store),&iter)){
|
|
|
|
|
|