Changeset 869:0797a6796f55 for src/mlx
- Timestamp:
- 06/18/17 18:25:18 (7 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r866 r869 511 511 self.setMainWidget(mainBox) 512 512 513 self._bookButton = self.addButton(xstr("flightsel_book"), 514 sensitive = True, 515 clicked = self._bookClicked, 516 tooltip = xstr("flightsel_book_tooltip")) 517 513 518 self._pendingButton = self.addButton(xstr("flightsel_pending"), 514 519 sensitive = False, … … 606 611 self._setupHelp() 607 612 self._updatePendingButton() 613 614 def _bookClicked(self, button): 615 """Called when the Book flights button is clicked.""" 616 self._wizard.gui.showTimetable() 608 617 609 618 def _pendingClicked(self, button): -
src/mlx/gui/gui.py
r859 r869 1302 1302 return self._notebook.get_current_page()==0 1303 1303 1304 def showTimetable(self, menuItem ):1304 def showTimetable(self, menuItem = None): 1305 1305 """Callback for showing the timetable.""" 1306 1306 if self._timetableWindow.hasFlightPairs:
Note:
See TracChangeset
for help on using the changeset viewer.