Changeset 408:1e2202fe006b for src/mlx/gui
- Timestamp:
- 12/28/12 12:13:29 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/monitor.py
r398 r408 37 37 padding_left = 16, padding_right = 16) 38 38 39 table = gtk.Table(rows = 7, columns = 14)39 table = gtk.Table(rows = 9, columns = 14) 40 40 table.set_homogeneous(False) 41 41 table.set_row_spacings(4) … … 222 222 table.attach(label, 10, 11, 7, 8) 223 223 table.attach(self._adf2, 11, 12, 7, 8) 224 225 (label, self._qnh) = self._createLabeledEntry("QNH:", 7) 226 table.attach(label, 0, 1, 8, 9) 227 table.attach(self._qnh, 1, 2, 8, 9) 224 228 225 229 alignment.add(table) … … 307 311 self._adf1.set_text("-") 308 312 self._adf2.set_text("-") 313 self._qnh.set_text("-") 309 314 else: 310 315 self._timestamp.set_text(time.strftime("%H:%M:%S", … … 336 341 self._nav1.set_text("-" if aircraftState.nav1 is None else aircraftState.nav1) 337 342 self._nav2.set_text("-" if aircraftState.nav2 is None else aircraftState.nav2) 343 self._qnh.set_text("%.0f" % (aircraftState.qnh,)) 338 344 339 345 fuelStr = ""
Note:
See TracChangeset
for help on using the changeset viewer.