comparison src/view_dir_tree.c @ 145:8be2cc687304

fixed grouping sidecar files and made it configurable via config file (no gui yet)
author nadvornik
date Tue, 20 Nov 2007 22:28:40 +0000
parents 71e1ebee420e
children f6e307c7bad6
comparison
equal deleted inserted replaced
144:2310066cc55a 145:8be2cc687304
1078 1078
1079 n++; 1079 n++;
1080 1080
1081 while (target_path[n] != '\0' && target_path[n] != '/') n++; 1081 while (target_path[n] != '\0' && target_path[n] != '/') n++;
1082 name8 = g_strndup(target_path, n); 1082 name8 = g_strndup(target_path, n);
1083 namel = path_from_utf8(name8);
1084 1083
1085 if (stat_utf8(name8, &sbuf)) 1084 if (stat_utf8(name8, &sbuf))
1086 { 1085 {
1087 list = g_list_prepend(list, file_data_new_local(namel, &sbuf)); 1086 list = g_list_prepend(list, file_data_new_simple(name8));
1088 } 1087 }
1089 1088
1090 g_free(namel);
1091 g_free(name8); 1089 g_free(name8);
1092 } 1090 }
1093 } 1091 }
1094 1092
1095 old = NULL; 1093 old = NULL;