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

Update to Gtk 3 API changes (re #347).

File:
1 edited

Legend:

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

    r919 r927  
    171171    def hasFlights(self):
    172172        """Determine if there are any flights in the list."""
    173         return self._model.get_iter_root() is not None
     173        return self._model.get_iter_first() is not None
    174174
    175175    def clear(self):
     
    271271    def __init__(self, which, wizard, window, pirepEditable = False):
    272272        """Construct the frame with the given title."""
    273         super(PendingFlightsFrame, self).__init__(xstr("pendflt_title_" + which))
     273        super(PendingFlightsFrame, self).__init__()
     274        self.set_label(xstr("pendflt_title_" + which))
    274275
    275276        self._which = which
Note: See TracChangeset for help on using the changeset viewer.