changeset 817:e2a37292ca83

dropped vficon_sync, use vficon_refresh everywhere
author Vladimir Nadvornik <nadvornik@suse.cz>
date Tue, 10 Jun 2008 18:19:17 +0000
parents dac96224a5e0
children 5b5ede62141b
files src/view_file_icon.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/view_file_icon.c	Tue Jun 10 11:55:18 2008 +0000
+++ b/src/view_file_icon.c	Tue Jun 10 18:19:17 2008 +0000
@@ -1678,6 +1678,7 @@
 	DEBUG_1("col tab pop cols=%d rows=%d", VFICON_INFO(vf, columns), VFICON_INFO(vf, rows));
 }
 
+#if 0
 static void vficon_sync(ViewFile *vf)
 {
 	GtkTreeModel *store;
@@ -1748,6 +1749,7 @@
 
 	vficon_update_focus(vf);
 }
+#endif
 
 #if 0
 static void vficon_sync_idle(ViewFile *vf)
@@ -1784,8 +1786,7 @@
 
 	if (!vf->list) return;
 
-	vf->list = iconlist_sort(vf->list, vf->sort_method, vf->sort_ascend);
-	vficon_sync(vf);
+	vf_refresh(vf);
 }
 
 /*