Changeset 563:90d7776ec939 for src/mlx
- Timestamp:
- 02/22/14 06:36:15 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r558 r563 210 210 pass 211 211 212 def setHelp(self, help): 213 """Set the help string.""" 214 self._help = help 215 if not self._completed: 216 self._helpLabel.set_markup(self._help) 217 self._helpLabel.set_sensitive(True) 218 212 219 def complete(self): 213 220 """Called when the page is completed. … … 2808 2815 def __init__(self, wizard): 2809 2816 """Construct the finish page.""" 2810 super(FinishPage, self).__init__(wizard, xstr("finish_title"),2811 xstr("finish_help"))2817 help = xstr("finish_help") + xstr("finish_help_wrongtime") 2818 super(FinishPage, self).__init__(wizard, xstr("finish_title"), help) 2812 2819 2813 2820 alignment = gtk.Alignment(xalign = 0.5, yalign = 0.5, … … 3061 3068 3062 3069 self._tooBigTimeDifference = tooBigDeparture or tooBigArrival 3070 3071 if self._tooBigTimeDifference: 3072 self.setHelp(xstr("finish_help") + xstr("finish_help_wrongtime")) 3073 else: 3074 self.setHelp(xstr("finish_help")) 3063 3075 3064 3076 self._arrTime.set_markup(markup) … … 3689 3701 3690 3702 self.setCurrentPage(firstPage) 3703 #self.setCurrentPage(13) 3691 3704 3692 3705 def login(self, callback, pilotID, password, entranceExam):
Note:
See TracChangeset
for help on using the changeset viewer.