Changeset 994:e71fbf2ee978 for src/mlx/gui/checklist.py
- Timestamp:
- 07/04/19 17:29:58 (5 years ago)
- Branch:
- python3
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/checklist.py
r954 r994 243 243 selection = self._fileList.get_selection() 244 244 (model, paths) = selection.get_selected_rows() 245 indexes = [(path.get_indices() if pygobject else path)[0] 246 for path in paths] 245 indexes = [path.get_indices()[0] for path in paths] 247 246 indexes.sort() 248 247 if not up: … … 273 272 maxIndex = None 274 273 for path in paths: 275 [index] = path.get_indices() if pygobject else path274 [index] = path.get_indices() 276 275 if minIndex is None or index<minIndex: minIndex = index 277 276 if maxIndex is None or index>maxIndex: maxIndex = index … … 326 325 327 326 menu = self._fileListPopupMenu 328 if pygobject: 329 menu.popup(None, None, None, None, event.button, event.time) 330 else: 331 menu.popup(None, None, None, event.button, event.time) 327 menu.popup(None, None, None, None, event.button, event.time) 332 328 333 329 def _buildFileListPopupMenu(self):
Note:
See TracChangeset
for help on using the changeset viewer.