|
|
|
@ -61,7 +61,7 @@ int yon_app_set_from_file(apps *target, const char *path){
|
|
|
|
|
|
|
|
|
|
|
|
void yon_apps_init(){
|
|
|
|
void yon_apps_init(){
|
|
|
|
int size;
|
|
|
|
int size;
|
|
|
|
config_str paths = yon_dir_get_contents(DesktopPath,&size);
|
|
|
|
config_str paths = yon_file_ls(DesktopPath,&size);
|
|
|
|
_apps = g_hash_table_new_full(g_str_hash,g_str_equal,(GDestroyNotify)free,(GDestroyNotify)yon_app_free);
|
|
|
|
_apps = g_hash_table_new_full(g_str_hash,g_str_equal,(GDestroyNotify)free,(GDestroyNotify)yon_app_free);
|
|
|
|
|
|
|
|
|
|
|
|
for (int i=0;i<size;i++){
|
|
|
|
for (int i=0;i<size;i++){
|
|
|
|
|