Ignore:
Timestamp:
04/28/12 15:14:39 (13 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Implemented the gates tab

Location:
src/mlx/gui
Files:
1 added
2 edited

Legend:

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

    r117 r118  
    360360        scrolledWindow.add(self._flightList)
    361361        scrolledWindow.set_size_request(400, -1)
     362        # FIXME: these should be constants in common.py
    362363        scrolledWindow.set_policy(gtk.PolicyType.AUTOMATIC if pygobject
    363364                                  else gtk.POLICY_AUTOMATIC,
  • src/mlx/gui/gui.py

    r117 r118  
    99from mlx.gui.monitor import MonitorWindow
    1010from mlx.gui.weighthelp import WeightHelp
     11from mlx.gui.gates import FleetGateStatus
    1112
    1213import mlx.const as const
     
    101102        self._notebook.append_page(logWidget, label)
    102103
     104        self._fleetGateStatus = FleetGateStatus(self)
     105        label = gtk.Label(xstr("tab_gates"))
     106        label.set_use_underline(True)
     107        label.set_tooltip_text(xstr("tab_gates_tooltip"))
     108        self._notebook.append_page(self._fleetGateStatus, label)
     109       
    103110        (self._debugLogWidget, self._debugLogView) = self._buildLogWidget()
    104111        self._debugLogWidget.show_all()
Note: See TracChangeset for help on using the changeset viewer.