Ignore:
Timestamp:
07/04/19 17:29:58 (5 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

Removed conditions on pygobject (re #347)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/checklist.py

    r954 r994  
    243243        selection = self._fileList.get_selection()
    244244        (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]
    247246        indexes.sort()
    248247        if not up:
     
    273272            maxIndex = None
    274273            for path in paths:
    275                 [index] = path.get_indices() if pygobject else path
     274                [index] = path.get_indices()
    276275                if minIndex is None or index<minIndex: minIndex = index
    277276                if maxIndex is None or index>maxIndex: maxIndex = index
     
    326325
    327326        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)
    332328
    333329    def _buildFileListPopupMenu(self):
Note: See TracChangeset for help on using the changeset viewer.