Changeset 122:95d8dd0a14a6 for src


Ignore:
Timestamp:
04/28/12 15:41:11 (13 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Eliminated further assertion failures

Location:
src/mlx/gui
Files:
2 edited

Legend:

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

    r119 r122  
    406406            flight = self._wizard.loginResult.flights[index]
    407407            self._wizard._bookedFlight = flight
    408             # FIXME: with PyGObject this call causes error messages to
    409             # appear on the standard output
    410408            self._wizard.gui.enableFlightInfo()
    411409
  • src/mlx/gui/info.py

    r111 r122  
    8484                              padding_left = 8, padding_right = 8)
    8585
    86         table = gtk.Table(5, 2)
     86        self._delayTable = table = gtk.Table(5, 2)
    8787        table.set_col_spacings(16)
    8888
     
    136136    def enable(self):
    137137        """Enable the flight info tab."""
    138         #gobject.idle_add(self.set_sensitive, True)
    139         self._commentsAlignment.set_sensitive(True)
    140         self._delayAlignment.set_sensitive(True)
     138        self._comments.set_sensitive(True)
     139        self._flightDefects.set_sensitive(True)
     140        self._delayTable.set_sensitive(True)
    141141       
    142142    def disable(self):
    143143        """Enable the flight info tab."""
    144         #gobject.idle_add(self.set_sensitive, False)
    145         self._commentsAlignment.set_sensitive(False)
    146         self._delayAlignment.set_sensitive(False)
     144        self._comments.set_sensitive(False)
     145        self._flightDefects.set_sensitive(False)
     146        self._delayTable.set_sensitive(False)
    147147
    148148    def reset(self):
Note: See TracChangeset for help on using the changeset viewer.