by
Changes to one file · Browse files at ea00c5737021 Showing diff from parent ab4d7595b497 4555e191a783 Diff from another changeset...
@@ -319,7 +319,8 @@ difftree.get_selection().set_mode(gtk.SELECTION_MULTIPLE)
difftree.set_headers_visible(False)
difftree.set_enable_search(False)
- difftree.set_property('enable-grid-lines', True)
+ if getattr(difftree, 'enable-grid-lines', None) is not None:
+ difftree.set_property('enable-grid-lines', True)
difftree.connect('row-activated', self.diff_tree_row_act)
cell = gtk.CellRendererText()
@@ -540,6 +541,7 @@ # List of the currently checked and selected files to pass on to
# the new data
model, tpaths = selection.get_selected_rows()
+ model = self.filemodel
reselect = [model[path][FM_PATH] for path in tpaths]
waschecked = {}
for row in model:
|
Loading...