[eog] Compare collate keys case-sensitively when sorting the image list



commit a3723c53bd30d65cd91a443387fb463131e0abe5
Author: Felix Riemann <friemann gnome org>
Date:   Tue Sep 8 11:47:13 2009 +0200

    Compare collate keys case-sensitively when sorting the image list
    
    Fixes broken image order in some locales (eg. cs_CZ). Fixes bgo#594403.

 src/eog-list-store.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/eog-list-store.c b/src/eog-list-store.c
index 8e571fd..cb58a24 100644
--- a/src/eog-list-store.c
+++ b/src/eog-list-store.c
@@ -121,8 +121,8 @@ eog_list_store_compare_func (GtkTreeModel *model,
 			    EOG_LIST_STORE_EOG_IMAGE, &image_b,
 			    -1);
 
-	r_value = strcasecmp (eog_image_get_collate_key (image_a),
-			      eog_image_get_collate_key (image_b));
+	r_value = strcmp (eog_image_get_collate_key (image_a),
+			  eog_image_get_collate_key (image_b));
 
 	g_object_unref (G_OBJECT (image_a));
 	g_object_unref (G_OBJECT (image_b));



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