~barcc/acire/gnome-vfs

« back to all changes in this revision

Viewing changes to bin/acire

  • Committer: Jono Bacon
  • Date: 2010-02-06 21:20:10 UTC
  • mfrom: (16.1.3 acire)
  • Revision ID: jono@ubuntu.com-20100206212010-66g6yir883ypbhtr
Merged in UI gixes. Thanks, Ed!

Show diffs side-by-side

added added

removed removed

Lines of Context:
313
313
 
314
314
                        self.snippets_model.append(templist)
315
315
 
316
 
                        templist = []            
 
316
                        templist = []
 
317
        #Sort the items in the treeview based on column 1, the text of each item
 
318
        rows = [tuple(r) + (i,) for i, r in enumerate(self.snippets_model)]
 
319
        rows.sort(key=lambda tup:(str.lower(tup[1])))
 
320
        self.snippets_model.reorder([r[-1] for r in rows])
317
321
 
318
322
                        
319
323
    def about(self, widget, data=None):