Changeset 554:b585c74956cb
- Timestamp:
- 01/28/14 16:12:22 (11 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/common.py
r474 r554 92 92 FILL = gtk.FILL 93 93 EXPAND = gtk.EXPAND 94 95 UPDATE_IF_VALID = gtk.UPDATE_IF_VALID 94 96 95 97 pixbuf_new_from_file = gdk.pixbuf_new_from_file … … 164 166 FILL = gtk.AttachOptions.FILL 165 167 EXPAND = gtk.AttachOptions.EXPAND 168 169 UPDATE_IF_VALID = gtk.SpinButtonUpdatePolicy.IF_VALID 166 170 167 171 pixbuf_new_from_file = gdkPixbuf.Pixbuf.new_from_file -
src/mlx/gui/flight.py
r551 r554 1711 1711 self._cruiseLevel = gtk.SpinButton() 1712 1712 self._cruiseLevel.set_increments(step = 10, page = 100) 1713 self._cruiseLevel.set_range(min = 50, max = 500)1713 self._cruiseLevel.set_range(min = 0, max = 500) 1714 1714 self._cruiseLevel.set_tooltip_text(xstr("route_level_tooltip")) 1715 1715 self._cruiseLevel.set_numeric(True) … … 1775 1775 def activate(self): 1776 1776 """Setup the route from the booked flight.""" 1777 self._cruiseLevel.set_value(240) 1777 self._cruiseLevel.set_value(0) 1778 self._cruiseLevel.set_text("") 1778 1779 self._route.get_buffer().set_text(self._wizard._bookedFlight.route) 1779 1780 self._updateForwardButton()
Note:
See TracChangeset
for help on using the changeset viewer.