eog r4344 - in trunk: . src



Author: friemann
Date: Fri Feb  8 12:59:34 2008
New Revision: 4344
URL: http://svn.gnome.org/viewvc/eog?rev=4344&view=rev

Log:
2008-02-08  Felix Riemann  <friemann svn gnome org>

	* src/eog-list-store.c: (eog_list_store_add_uris):
	Disable sorting while adding a directory to the collection.
	This should improve the startup time in huge directories.
	Improves bug #495825.


Modified:
   trunk/ChangeLog
   trunk/src/eog-list-store.c

Modified: trunk/src/eog-list-store.c
==============================================================================
--- trunk/src/eog-list-store.c	(original)
+++ trunk/src/eog-list-store.c	Fri Feb  8 12:59:34 2008
@@ -549,7 +549,8 @@
 	info = gnome_vfs_file_info_new ();
 
 	gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (store),
-					      -1, GTK_SORT_ASCENDING);
+					      GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID,
+					      GTK_SORT_ASCENDING);
 	
 	for (it = uri_list; it != NULL; it = it->next) {
 		GnomeVFSURI *uri = (GnomeVFSURI *) it->data;



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