diff --git a/ChangeLog b/ChangeLog index 21bac234b573351de4a94f590104f01e30c4c35f..5028e045822537266468b1586a8ea1043ef3f1ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-02 Benedikt Meurer <benny@xfce.org> + + * thunar/thunar-list-model.c: Add sort_by_name() calls missing from the + initial patch. + 2005-08-02 Benedikt Meurer <benny@xfce.org> * thunar/thunar-local-file.c(thunar_local_file_monitor): Actually diff --git a/thunar/thunar-list-model.c b/thunar/thunar-list-model.c index 2f327701d632e3d25a6193b474a76726e446214c..8456a184e21664b4f0eebfd70bcce239a0bf818c 100644 --- a/thunar/thunar-list-model.c +++ b/thunar/thunar-list-model.c @@ -1312,7 +1312,7 @@ sort_by_date_accessed (ThunarFile *a, can_b = thunar_file_get_date (b, THUNAR_FILE_DATE_ACCESSED, &date_b); if (G_UNLIKELY (!can_a && !can_b)) - return 0; + return sort_by_name (a, b); else if (G_UNLIKELY (!can_a)) return -1; else if (G_UNLIKELY (!can_b)) @@ -1341,7 +1341,7 @@ sort_by_date_modified (ThunarFile *a, can_b = thunar_file_get_date (b, THUNAR_FILE_DATE_MODIFIED, &date_b); if (G_UNLIKELY (!can_a && !can_b)) - return 0; + return sort_by_name (a, b); else if (G_UNLIKELY (!can_a)) return -1; else if (G_UNLIKELY (!can_b)) @@ -1369,7 +1369,7 @@ sort_by_mime_type (ThunarFile *a, info_b = thunar_file_get_mime_info (b); if (G_UNLIKELY (info_a == NULL && info_b == NULL)) - return 0; + return sort_by_name (a, b); else if (G_UNLIKELY (info_a == NULL)) { thunar_vfs_mime_info_unref (info_b); @@ -1438,7 +1438,7 @@ sort_by_size (ThunarFile *a, can_b = thunar_file_get_size (b, &size_b); if (G_UNLIKELY (!can_a && !can_b)) - return 0; + return sort_by_name (a, b); else if (G_UNLIKELY (!can_a)) return -1; else if (G_UNLIKELY (!can_b)) @@ -1466,7 +1466,7 @@ sort_by_type (ThunarFile *a, info_b = thunar_file_get_mime_info (b); if (G_UNLIKELY (info_a == NULL && info_b == NULL)) - return 0; + return sort_by_name (a, b); else if (G_UNLIKELY (info_a == NULL)) { thunar_vfs_mime_info_unref (info_b);