Changeset 121:5ce72e33e807 for src/mlx
- Timestamp:
- 04/28/12 15:36:40 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/gates.py
r119 r121 27 27 mainAlignment.add(mainBox) 28 28 29 s tatusBox = gtk.HBox()29 self._statusBox = statusBox = gtk.HBox() 30 30 mainBox.pack_start(statusBox, True, True, 4) 31 31 32 self._fleetFrame =fleetFrame = gtk.Frame(label = xstr("gates_fleet_title"))32 fleetFrame = gtk.Frame(label = xstr("gates_fleet_title")) 33 33 fleetLabel = fleetFrame.get_label_widget() 34 34 fleetLabel.set_use_underline(True) … … 63 63 64 64 65 alignment = gtk.Alignment(xalign = 0.5, yalign = 0.0, 66 xscale = 0.0, yscale = 1.0) 65 self._fleetAlignment = alignment = \ 66 gtk.Alignment(xalign = 0.5, yalign = 0.0, 67 xscale = 0.0, yscale = 1.0) 67 68 alignment.set_padding(padding_top = 4, padding_bottom = 4, 68 69 padding_left = 4, padding_right = 4) … … 73 74 statusBox.pack_start(gatesFrame, True, True, 4) 74 75 75 table = gtk.Table(14, 4)76 self._gatesTable = table = gtk.Table(14, 4) 76 77 table.set_tooltip_markup(xstr("gates_gates_tooltip")) 77 78 alignment = gtk.Alignment(xalign = 0.5, yalign = 0.5, … … 111 112 mainBox.pack_start(alignment, False, False, 4) 112 113 113 self._fleet Frame.set_sensitive(False)114 self._gates Frame.set_sensitive(False)114 self._fleetList.set_sensitive(False) 115 self._gatesTable.set_sensitive(False) 115 116 116 117 def disable(self): … … 166 167 self._gateLabels[gateNumber].set_markup(markup) 167 168 168 self._fleetFrame.set_sensitive(fleet is not None) 169 self._gatesFrame.set_sensitive(fleet is not None) 170 169 self._fleetList.set_sensitive(fleet is not None) 170 self._gatesTable.set_sensitive(fleet is not None) 171 171 172 172 #----------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.