[Nautilus-list] [PATCH] for bug 77174 (Nautilus sorts in opposite order when "sort in reverse order" chosen)





Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/nautilus/ChangeLog,v
retrieving revision 1.5181
diff -p -u -r1.5181 ChangeLog
--- ChangeLog	5 Apr 2002 18:25:54 -0000	1.5181
+++ ChangeLog	7 Apr 2002 19:15:13 -0000
@@ -1,3 +1,15 @@
+2002-04-07  David Emory Watson  <dwatson cs ucr edu>
+
+	* src/file-manager/fm-list-model.c:
+	(fm_list_model_compare_func): Should be GTK_SORT_ASCENDING when
+	sort_reversed, bug 77174.
+
 2002-04-06  David Emory Watson  <dwatson cs ucr edu>
 
 	* src/file-manager/fm-list-model.c:
Index: src/file-manager/fm-list-model.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/file-manager/fm-list-model.c,v
retrieving revision 1.7
diff -p -u -r1.7 fm-list-model.c
--- src/file-manager/fm-list-model.c	11 Mar 2002 10:17:49 -0000	1.7
+++ src/file-manager/fm-list-model.c	7 Apr 2002 19:15:22 -0000
@@ -371,7 +371,7 @@ fm_list_model_compare_func (gconstpointe
 	result = nautilus_file_compare_for_sort (file1, file2,
 						 fm_list_model_get_nautilus_file_sort_type (model),
 						 model->details->sort_directories_first,
-						 (model->details->order == GTK_SORT_DESCENDING));
+						 (model->details->order == GTK_SORT_ASCENDING));
 
 	return result;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]