[gthumb/ext] do not change the file list order when loading a search catalog



commit 600628e41539bb1afd15b0f63c4732f9c19e2589
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Aug 30 13:29:53 2009 +0200

    do not change the file list order when loading a search catalog

 extensions/search/gth-search.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/extensions/search/gth-search.c b/extensions/search/gth-search.c
index c5a6205..69abb4f 100644
--- a/extensions/search/gth-search.c
+++ b/extensions/search/gth-search.c
@@ -139,6 +139,7 @@ gth_search_real_load_from_element (DomDomizable *base,
 				if (uri != NULL)
 					files = g_list_prepend (files, g_file_new_for_uri (uri));
 			}
+			files = g_list_reverse (files);
 		}
 		else if (g_strcmp0 (node->tag_name, "order") == 0)
 			gth_catalog_set_order (GTH_CATALOG (self),



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