Changeset 122:95d8dd0a14a6
- Timestamp:
- 04/28/12 15:41:11 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r119 r122 406 406 flight = self._wizard.loginResult.flights[index] 407 407 self._wizard._bookedFlight = flight 408 # FIXME: with PyGObject this call causes error messages to409 # appear on the standard output410 408 self._wizard.gui.enableFlightInfo() 411 409 -
src/mlx/gui/info.py
r111 r122 84 84 padding_left = 8, padding_right = 8) 85 85 86 table = gtk.Table(5, 2)86 self._delayTable = table = gtk.Table(5, 2) 87 87 table.set_col_spacings(16) 88 88 … … 136 136 def enable(self): 137 137 """Enable the flight info tab.""" 138 #gobject.idle_add(self.set_sensitive,True)139 self._ commentsAlignment.set_sensitive(True)140 self._delay Alignment.set_sensitive(True)138 self._comments.set_sensitive(True) 139 self._flightDefects.set_sensitive(True) 140 self._delayTable.set_sensitive(True) 141 141 142 142 def disable(self): 143 143 """Enable the flight info tab.""" 144 #gobject.idle_add(self.set_sensitive,False)145 self._ commentsAlignment.set_sensitive(False)146 self._delay Alignment.set_sensitive(False)144 self._comments.set_sensitive(False) 145 self._flightDefects.set_sensitive(False) 146 self._delayTable.set_sensitive(False) 147 147 148 148 def reset(self):
Note:
See TracChangeset
for help on using the changeset viewer.