Changeset 4324c75d2053…
Parent 25e7fa1f1ef4…
by
Changes to one file · Browse files at 4324c75d2053 Showing diff from parent 25e7fa1f1ef4 Diff from another changeset...
@@ -244,7 +244,12 @@ # show file selection checkboxes only when applicable
col0 = gtk.TreeViewColumn('', toggle_cell)
col0.add_attribute(toggle_cell, 'active', FM_CHECKED)
- col0.add_attribute(toggle_cell, 'radio', FM_PARTIAL_SELECTED)
+ if gtk.pygtk_version >= (2, 12, 0):
+ col0.add_attribute(toggle_cell, 'inconsistent',
+ FM_PARTIAL_SELECTED)
+ else:
+ col0.add_attribute(toggle_cell, 'radio',
+ FM_PARTIAL_SELECTED)
col0.set_resizable(False)
self.filetree.append_column(col0)
self.selcb = self.add_header_checkbox(col0, self.sel_clicked)
|
Loading...