Changeset 260:e2dd6183fe3d
- Timestamp:
- 06/24/12 08:34:20 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/checklist.py
r233 r260 220 220 (model, paths) = selection.get_selected_rows() 221 221 indexes = [(path.get_indices() if pygobject else path)[0] 222 for path in paths] 222 for path in paths] 223 223 indexes.sort() 224 224 if not up: … … 236 236 numRows = model.iter_n_children(None) 237 237 self._moveDownButton.set_sensitive(True if up else 238 indexes[ -1]<(numRows-2))238 indexes[0]<(numRows-2)) 239 239 240 240 def _fileListSelectionChanged(self, selection):
Note:
See TracChangeset
for help on using the changeset viewer.