[arch-commits] CVS update of extra/gnome/nautilus (search-engine-simple-utf8.patch)

Jan de Groot jgc at archlinux.org
Tue Dec 11 14:42:09 EST 2007


    Date: Tuesday, December 11, 2007 @ 14:42:09
  Author: jgc
    Path: /home/cvs-extra/extra/gnome/nautilus

 Removed: search-engine-simple-utf8.patch (1.1)

Remove dead patch


---------------------------------+
 search-engine-simple-utf8.patch |   26 --------------------------
 1 file changed, 26 deletions(-)


Index: extra/gnome/nautilus/search-engine-simple-utf8.patch
diff -u extra/gnome/nautilus/search-engine-simple-utf8.patch:1.1 extra/gnome/nautilus/search-engine-simple-utf8.patch:removed
--- extra/gnome/nautilus/search-engine-simple-utf8.patch:1.1	Sat Aug  4 17:52:16 2007
+++ extra/gnome/nautilus/search-engine-simple-utf8.patch	Tue Dec 11 14:42:09 2007
@@ -1,26 +0,0 @@
---- branches/gnome-2-18/libnautilus-private/nautilus-search-engine-simple.c	2007/07/02 21:48:53	12975
-+++ branches/gnome-2-18/libnautilus-private/nautilus-search-engine-simple.c	2007/07/30 21:24:02	13034
-@@ -213,8 +213,13 @@
- 	hit = FALSE;
- 
- 	if (!is_hidden) {
--		normalized = g_utf8_normalize (info->name, -1, G_NORMALIZE_NFD);
--		lower_name = g_utf8_strdown (normalized, -1);
-+		if (g_utf8_validate (info->name, -1, NULL)) {
-+			normalized = g_utf8_normalize (info->name, -1, G_NORMALIZE_NFD);
-+			lower_name = g_utf8_strdown (normalized, -1);
-+			g_free (normalized);
-+		} else {
-+			lower_name = g_ascii_strdown (info->name, -1);
-+		}
- 		
- 		hit = TRUE;
- 		for (i = 0; data->words[i] != NULL; i++) {
-@@ -224,7 +229,6 @@
- 			}
- 		}
- 		g_free (lower_name);
--		g_free (normalized);
- 	}
- 
- 	if (hit && data->mime_types != NULL) {




More information about the arch-commits mailing list