~xapantu/beat-box/animations

« back to all changes in this revision

Viewing changes to src/Views/ListView/MusicTreeModel.vala

  • Committer: sgringwe at gmail
  • Date: 2012-01-11 18:23:20 UTC
  • Revision ID: sgringwe@gmail.com-20120111182320-i117rvcsea2hsqry
getting closer to async imports. a few bugs to work out, mem leak to find, and testing remain

Show diffs side-by-side

added added

removed removed

Lines of Context:
459
459
                }
460
460
        }
461
461
        
 
462
        public void resort() {
 
463
                rows.sort_iter(sequenceIterCompareFunc);
 
464
                sort_column_changed();
 
465
        }
 
466
        
462
467
        /** Sets the comparison function used when sorting to be sort_func. **/
463
468
        public void set_sort_func(int sort_column_id, owned TreeIterCompareFunc sort_func) {
464
469
                column_sorts.set(sort_column_id, new CompareFuncHolder(sort_func));