Changeset 224:6269b46d6740
- Timestamp:
- 06/04/12 12:04:31 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/const.py
r220 r224 217 217 def flightType2string(flightType): 218 218 """Get the string equivalent of the given flight type.""" 219 print _flightTypeStrings220 219 return _flightTypeStrings[flightType] \ 221 220 if flightType in _flightTypeStrings else None -
src/mlx/gui/pirep.py
r223 r224 152 152 label.set_tooltip_text(xstr("pirepView_tab_log_tooltip")) 153 153 self._notebook.append_page(logTab, label) 154 155 self._okButton = self.add_button(xstr("button_ok"), RESPONSETYPE_OK) 156 self._okButton.set_can_default(True) 154 157 155 158 def setPIREP(self, pirep): … … 237 240 238 241 self._notebook.set_current_page(0) 242 self._okButton.grab_default() 239 243 240 244 def _buildDataTab(self):
Note:
See TracChangeset
for help on using the changeset viewer.