Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.5, 0.6, and 0.7

status: Describe the ListStore model shown through the TreeView

The TreeView is the main control in the select and commit dialog.
It displays data stored in a ListStore named self.model
This patch documents the semantics for the content of the
four columns defined for self.model

Changeset 4afbf7e9fd37

Parent 89f65de7c654

by Peer Sommerlund

Changes to one file · Browse files at 4afbf7e9fd37 Showing diff from parent 89f65de7c654 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​status.py Stacked
 
183
184
185
 
 
 
 
 
186
187
188
 
183
184
185
186
187
188
189
190
191
192
193
@@ -183,6 +183,11 @@
  self._menus['I'] = ignored_menu   self._menus['!'] = deleted_menu   + # model stores the file list. + # model[0] = file checked (marked for commit) + # model[1] = changetype char + # model[2] = file path as UTF-8 + # model[3] = file path   self.model = gtk.ListStore(bool, str, str, str)   self.model.set_sort_func(1001, self._sort_by_stat)   self.model.set_default_sort_func(self._sort_by_stat)