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

Added a Quit option to the status icon's menu and a confirmation dialog.

File:
1 edited

Legend:

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

    r75 r76  
    13461346        self._starButton = gtk.CheckButton()
    13471347        self._starButton.connect("clicked", self._starButtonClicked)
    1348         self._starButton.set_active(True)
    13491348        table.attach(self._starButton, 0, 1, 0, 1)
    13501349
     
    13641363        self._transitionButton = gtk.CheckButton()
    13651364        self._transitionButton.connect("clicked", self._transitionButtonClicked)
    1366         self._transitionButton.set_active(True)
    13671365        table.attach(self._transitionButton, 0, 1, 1, 2)
    13681366
     
    14001398        self._approachType.set_width_chars(10)
    14011399        self._approachType.set_tooltip_text("The type of the approach, e.g. ILS or VISUAL.")
    1402         self._runway.connect("changed", self._updateForwardButton)
     1400        self._approachType.connect("changed", self._updateForwardButton)
    14031401        table.attach(self._approachType, 2, 3, 3, 4)
    14041402        label.set_mnemonic_widget(self._approachType)
     
    14281426        self._button.set_use_stock(True)
    14291427        self._button.connect("clicked", self._forwardClicked)
     1428
     1429        # These are needed for correct size calculations
     1430        self._starButton.set_active(True)
     1431        self._transitionButton.set_active(True)
    14301432
    14311433    def activate(self):
Note: See TracChangeset for help on using the changeset viewer.