Changeset 847:24fa2809b5e5 for src
- Timestamp:
- 05/11/17 18:04:35 (8 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/pirep.py
r846 r847 999 999 self._filedCruiseLevel.set_increments(step = 10, page = 100) 1000 1000 self._filedCruiseLevel.set_range(min = 0, max = 500) 1001 #self._filedCruiseLevel.set_tooltip_text(xstr("route_level_tooltip"))1001 self._filedCruiseLevel.set_tooltip_text(xstr("route_level_tooltip")) 1002 1002 self._filedCruiseLevel.set_numeric(True) 1003 1003 self._filedCruiseLevel.connect("value-changed", self._updateButtons) … … 1014 1014 self._modifiedCruiseLevel.set_increments(step = 10, page = 100) 1015 1015 self._modifiedCruiseLevel.set_range(min = 0, max = 500) 1016 #self._modifiedCruiseLevel.set_tooltip_text(xstr("route_level_tooltip"))1016 self._modifiedCruiseLevel.set_tooltip_text(xstr("pirepEdit_modified_route_level_tooltip")) 1017 1017 self._modifiedCruiseLevel.set_numeric(True) 1018 1018 self._modifiedCruiseLevel.connect("value-changed", self._updateButtons) … … 1026 1026 mainBox.pack_start(routeWindow, False, False, 0) 1027 1027 self._userRoute.get_buffer().connect("changed", self._updateButtons) 1028 self._userRoute.set_tooltip_text(xstr("route_route_tooltip")) 1028 1029 1029 1030 return frame … … 1039 1040 editable = True) 1040 1041 self._departureMETAR.get_buffer().connect("changed", self._updateButtons) 1042 self._departureMETAR.set_tooltip_text(xstr("takeoff_metar_tooltip")) 1041 1043 mainBox.pack_start(metarWindow, True, True, 0) 1042 1044 … … 1087 1089 editable = True) 1088 1090 self._arrivalMETAR.get_buffer().connect("changed", self._updateButtons) 1091 self._arrivalMETAR.set_tooltip_text(xstr("landing_metar_tooltip")) 1089 1092 mainBox.pack_start(metarWindow, True, True, 0) 1090 1093 … … 1163 1166 xstr("pirepView_blockTimeStart")) 1164 1167 self._blockTimeStart.connect("changed", self._updateButtons) 1168 self._blockTimeStart.set_tooltip_text(xstr("pirepEdit_block_time_start_tooltip")) 1165 1169 1166 1170 self._blockTimeEnd = \ … … 1168 1172 xstr("pirepView_blockTimeEnd")) 1169 1173 self._blockTimeEnd.connect("changed", self._updateButtons) 1174 self._blockTimeEnd.set_tooltip_text(xstr("pirepEdit_block_time_end_tooltip")) 1170 1175 1171 1176 self._flightTimeStart = \ … … 1173 1178 xstr("pirepView_flightTimeStart")) 1174 1179 self._flightTimeStart.connect("changed", self._updateButtons) 1180 self._flightTimeStart.set_tooltip_text(xstr("pirepEdit_flight_time_start_tooltip")) 1175 1181 1176 1182 self._flightTimeEnd = \ … … 1178 1184 xstr("pirepView_flightTimeEnd")) 1179 1185 self._flightTimeEnd.connect("changed", self._updateButtons) 1186 self._flightTimeEnd.set_tooltip_text(xstr("pirepEdit_flight_time_end_tooltip")) 1180 1187 1181 1188 self._flownDistance = PIREPViewer.getDataLabel(width = 3) … … 1189 1196 1000000) 1190 1197 self._fuelUsed.connect("value-changed", self._updateButtons) 1198 self._fuelUsed.set_tooltip_text(xstr("pirepEdit_fuel_used_tooltip")) 1191 1199 1192 1200 self._rating = PIREPViewer.getDataLabel(width = 3) … … 1211 1219 300) 1212 1220 self._flownNumPassengers.connect("value-changed", self._updateButtons) 1221 self._flownNumPassengers.set_tooltip_text(xstr("payload_pax_tooltip")) 1213 1222 1214 1223 self._flownNumCrew = \ … … 1217 1226 10) 1218 1227 self._flownNumCrew.connect("value-changed", self._updateButtons) 1228 self._flownNumCrew.set_tooltip_text(xstr("payload_crew_tooltip")) 1219 1229 1220 1230 self._flownBagWeight = \ … … 1222 1232 xstr("pirepView_bagWeight"), 1223 1233 100000, width = 6) 1234 self._flownBagWeight.set_tooltip_text(xstr("payload_bag_tooltip")) 1224 1235 1225 1236 self._flownCargoWeight = \ … … 1227 1238 xstr("pirepView_cargoWeight"), 1228 1239 100000, width = 6) 1240 self._flownCargoWeight.set_tooltip_text(xstr("payload_cargo_tooltip")) 1229 1241 1230 1242 self._flownMailWeight = \ … … 1232 1244 xstr("pirepView_mailWeight"), 1233 1245 100000, width = 6) 1246 self._flownMailWeight.set_tooltip_text(xstr("payload_mail_tooltip")) 1234 1247 1235 1248 self._flightType = createFlightTypeComboBox() … … 1237 1250 xstr("pirepView_flightType"), 1238 1251 self._flightType) 1239 1240 self._online = gtk.CheckButton(xstr("pirepView_online")) 1252 self._flightType.set_tooltip_text(xstr("pirepEdit_flight_type_tooltip")) 1253 1254 self._online = gtk.CheckButton(xstr("pirepEdit_online")) 1241 1255 table.attach(self._online, 2, 3, 2, 3) 1256 self._online.set_tooltip_text(xstr("pirepEdit_online_tooltip")) 1242 1257 1243 1258 PIREPViewer.addVFiller(mainBox) … … 1248 1263 (textWindow, self._delayCodes) = PIREPViewer.getTextWindow() 1249 1264 mainBox.pack_start(textWindow, False, False, 0) 1265 self._delayCodes.set_tooltip_text(xstr("pirepEdit_delayCodes_tooltip")) 1250 1266 1251 1267 return frame
Note:
See TracChangeset
for help on using the changeset viewer.