Changeset 145:0f8b76274d8e for src/mlx/gui
- Timestamp:
- 05/01/12 17:54:25 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r144 r145 1002 1002 label = gtk.Label("<b>" + name + "</b>") 1003 1003 label.set_use_markup(True) 1004 label.set_use_underline(True) 1004 1005 label.set_justify(JUSTIFY_CENTER) 1005 1006 label.set_alignment(0.5, 1.0) … … 1033 1034 self._expectedButton.set_width_chars(5) 1034 1035 self._expectedButton.connect("value-changed", self._expectedChanged) 1036 1037 label.set_mnemonic_widget(self._expectedButton) 1035 1038 1036 1039 alignment = gtk.Alignment(xalign = 0.5, yalign = 0.5, … … 1186 1189 self._pumpIndex = 0 1187 1190 1188 #def activate(self):1189 #"""Activate the page."""1190 #gui = self._wizard.gui1191 1192 #self._setupTanks(gui.flight.aircraft.fuelTanks,1193 #self._wizard._fuelData)1191 def activate(self): 1192 """Activate the page.""" 1193 gui = self._wizard.gui 1194 1195 self._setupTanks(gui.flight.aircraft.fuelTanks, 1196 self._wizard._fuelData) 1194 1197 1195 1198 def finalize(self): … … 2553 2556 page.reset() 2554 2557 2555 self.setCurrentPage( 6)2558 self.setCurrentPage(0) 2556 2559 2557 2560 def getFleet(self, callback, force = False):
Note:
See TracChangeset
for help on using the changeset viewer.