Changeset 139:839016dcd0d1 for src/mlx/gui
- Timestamp:
- 05/01/12 08:29:24 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r138 r139 212 212 alignment = gtk.Alignment(xalign = 0.5, yalign = 0.5, 213 213 xscale = 0.0, yscale = 0.0) 214 214 215 215 table = gtk.Table(2, 3) 216 216 table.set_row_spacings(4) -
src/mlx/gui/gui.py
r135 r139 165 165 """Get the flight being performed.""" 166 166 return self._flight 167 168 @property 169 def loginResult(self): 170 """Get the result of the login.""" 171 return self._wizard.loginResult 167 172 168 173 @property -
src/mlx/gui/prefs.py
r136 r139 68 68 self._setLanguage(config.language) 69 69 self._onlineGateSystem.set_active(config.onlineGateSystem) 70 self._onlineACARS.set_active(config.onlineACARS) 70 71 self._flareTimeFromFS.set_active(config.flareTimeFromFS) 71 72 … … 91 92 config.language = self._getLanguage() 92 93 config.onlineGateSystem = self._onlineGateSystem.get_active() 94 config.onlineACARS = self._onlineACARS.get_active() 93 95 config.flareTimeFromFS = self._flareTimeFromFS.get_active() 94 96 … … 148 150 self._onlineGateSystem.set_tooltip_text(xstr("prefs_onlineGateSystem_tooltip")) 149 151 mainBox.pack_start(self._onlineGateSystem, False, False, 4) 152 153 self._onlineACARS = gtk.CheckButton(xstr("prefs_onlineACARS")) 154 self._onlineACARS.set_use_underline(True) 155 self._onlineACARS.set_tooltip_text(xstr("prefs_onlineACARS_tooltip")) 156 mainBox.pack_start(self._onlineACARS, False, False, 4) 150 157 151 158 self._flareTimeFromFS = gtk.CheckButton(xstr("prefs_flaretimeFromFS"))
Note:
See TracChangeset
for help on using the changeset viewer.