Changeset 223:b12bd5ce792d for src/mlx


Ignore:
Timestamp:
06/04/12 11:59:33 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added the set cargo weight

File:
1 edited

Legend:

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

    r222 r223  
    214214            self._rating.set_text("%.1f %%" % (rating,))
    215215
     216        self._flownCargoWeight.set_text("%.0f" % (pirep.cargoWeight,))
    216217        self._flightType.set_text(xstr("flighttype_" +
    217218                                       flightType2string(pirep.flightType)))
     
    510511        mainBox.pack_start(dataBox, False, False, 0)
    511512       
     513        self._flownCargoWeight = \
     514            PIREPViewer.addLabeledData(dataBox,
     515                                       xstr("pirepView_cargoWeight"),
     516                                       width = 6)
     517
    512518        self._flightType = \
    513519            PIREPViewer.addLabeledData(dataBox,
Note: See TracChangeset for help on using the changeset viewer.