[Goodies-commits] r2979 - ristretto/trunk/src
Stephan Arts
stephan at xfce.org
Thu Aug 9 01:38:29 CEST 2007
Author: stephan
Date: 2007-08-08 23:38:29 +0000 (Wed, 08 Aug 2007)
New Revision: 2979
Modified:
ristretto/trunk/src/navigator.c
Log:
First file from the list should be selected by default
Modified: ristretto/trunk/src/navigator.c
===================================================================
--- ristretto/trunk/src/navigator.c 2007-08-08 23:32:53 UTC (rev 2978)
+++ ristretto/trunk/src/navigator.c 2007-08-08 23:38:29 UTC (rev 2979)
@@ -220,14 +220,15 @@
filename = g_dir_read_name(dir);
}
g_free(dir_name);
+
+ navigator->file_list = g_list_sort(navigator->file_list, (GCompareFunc)rstto_navigator_entry_compare_func);
+
if(!navigator->file_iter)
{
navigator->file_iter = navigator->file_list;
}
}
- navigator->file_list = g_list_sort(navigator->file_list, (GCompareFunc)rstto_navigator_entry_compare_func);
-
if(navigator->file_iter)
{
gchar *filename = thunar_vfs_path_dup_string(((ThunarVfsInfo *)((RsttoNavigatorEntry *)navigator->file_iter->data)->info)->path);
More information about the Goodies-commits
mailing list