Ignore:
Timestamp:
05/01/12 08:29:24 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Implemented ACARS sending

Location:
src/mlx/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/flight.py

    r138 r139  
    212212        alignment = gtk.Alignment(xalign = 0.5, yalign = 0.5,
    213213                                  xscale = 0.0, yscale = 0.0)
    214        
     214
    215215        table = gtk.Table(2, 3)
    216216        table.set_row_spacings(4)
  • src/mlx/gui/gui.py

    r135 r139  
    165165        """Get the flight being performed."""
    166166        return self._flight
     167
     168    @property
     169    def loginResult(self):
     170        """Get the result of the login."""
     171        return self._wizard.loginResult
    167172
    168173    @property
  • src/mlx/gui/prefs.py

    r136 r139  
    6868        self._setLanguage(config.language)
    6969        self._onlineGateSystem.set_active(config.onlineGateSystem)
     70        self._onlineACARS.set_active(config.onlineACARS)
    7071        self._flareTimeFromFS.set_active(config.flareTimeFromFS)
    7172
     
    9192        config.language = self._getLanguage()
    9293        config.onlineGateSystem = self._onlineGateSystem.get_active()
     94        config.onlineACARS = self._onlineACARS.get_active()
    9395        config.flareTimeFromFS = self._flareTimeFromFS.get_active()
    9496
     
    148150        self._onlineGateSystem.set_tooltip_text(xstr("prefs_onlineGateSystem_tooltip"))
    149151        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)
    150157
    151158        self._flareTimeFromFS = gtk.CheckButton(xstr("prefs_flaretimeFromFS"))
Note: See TracChangeset for help on using the changeset viewer.