[gthumb/ext] reverse the file list to get the file view order



commit 19b9f9b79901180c4229fadd1218ecde88cf2668
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Nov 6 22:35:18 2009 +0100

    reverse the file list to get the file view order

 extensions/file_manager/callbacks.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/extensions/file_manager/callbacks.c b/extensions/file_manager/callbacks.c
index 72dec0c..722c6cd 100644
--- a/extensions/file_manager/callbacks.c
+++ b/extensions/file_manager/callbacks.c
@@ -769,6 +769,7 @@ activate_open_with_application_item (GtkMenuItem *menuitem,
 		GthFileData *file_data = scan->data;
 		uris = g_list_prepend (uris, g_file_get_uri (file_data->file));
 	}
+	uris = g_list_reverse (uris);
 
 	appinfo = g_object_get_data (G_OBJECT (menuitem), "appinfo");
 	g_return_if_fail (G_IS_APP_INFO (appinfo));



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