comparison src/view_file_icon.c @ 817:ad7f56cea841

dropped vficon_sync, use vficon_refresh everywhere
author nadvornik
date Tue, 10 Jun 2008 18:19:17 +0000
parents 721c2bbaceec
children b02a24ebf441
comparison
equal deleted inserted replaced
816:cf5bbd0beaae 817:ad7f56cea841
1676 vficon_populate(vf, TRUE, TRUE); 1676 vficon_populate(vf, TRUE, TRUE);
1677 1677
1678 DEBUG_1("col tab pop cols=%d rows=%d", VFICON_INFO(vf, columns), VFICON_INFO(vf, rows)); 1678 DEBUG_1("col tab pop cols=%d rows=%d", VFICON_INFO(vf, columns), VFICON_INFO(vf, rows));
1679 } 1679 }
1680 1680
1681 #if 0
1681 static void vficon_sync(ViewFile *vf) 1682 static void vficon_sync(ViewFile *vf)
1682 { 1683 {
1683 GtkTreeModel *store; 1684 GtkTreeModel *store;
1684 GtkTreeIter iter; 1685 GtkTreeIter iter;
1685 GList *work; 1686 GList *work;
1746 1747
1747 VFICON_INFO(vf, rows) = r; 1748 VFICON_INFO(vf, rows) = r;
1748 1749
1749 vficon_update_focus(vf); 1750 vficon_update_focus(vf);
1750 } 1751 }
1752 #endif
1751 1753
1752 #if 0 1754 #if 0
1753 static void vficon_sync_idle(ViewFile *vf) 1755 static void vficon_sync_idle(ViewFile *vf)
1754 { 1756 {
1755 if (VFICON_INFO(vf, sync_idle_id) == -1) 1757 if (VFICON_INFO(vf, sync_idle_id) == -1)
1782 vf->sort_method = type; 1784 vf->sort_method = type;
1783 vf->sort_ascend = ascend; 1785 vf->sort_ascend = ascend;
1784 1786
1785 if (!vf->list) return; 1787 if (!vf->list) return;
1786 1788
1787 vf->list = iconlist_sort(vf->list, vf->sort_method, vf->sort_ascend); 1789 vf_refresh(vf);
1788 vficon_sync(vf);
1789 } 1790 }
1790 1791
1791 /* 1792 /*
1792 *----------------------------------------------------------------------------- 1793 *-----------------------------------------------------------------------------
1793 * thumb updates 1794 * thumb updates