Changeset 233:c0ab38ca1546
- Timestamp:
- 06/06/12 17:38:01 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/checklist.py
r184 r233 185 185 numSelected = 0 186 186 for path in fileChooser.get_filenames(): 187 path = text2unicode(path) 187 188 numSelected += 1 188 189 if os.path.isfile(path): numFiles += 1 … … 193 194 """Called when the Add button is clicked.""" 194 195 for path in self._fileChooser.get_filenames(): 196 path = text2unicode(path) 195 197 self._fileListModel.append([os.path.basename(path), 196 198 path]) -
src/mlx/gui/flight.py
r218 r233 454 454 455 455 if response==RESPONSETYPE_OK: 456 fileName = dialog.get_filename()456 fileName = text2unicode(dialog.get_filename()) 457 457 print "Saving", fileName 458 458 try: … … 495 495 496 496 if response==RESPONSETYPE_OK: 497 fileName = dialog.get_filename()497 fileName = text2unicode(dialog.get_filename()) 498 498 print "Loading", fileName 499 499 bookedFlight = web.BookedFlight() -
src/mlx/gui/prefs.py
r202 r233 530 530 531 531 if result==RESPONSETYPE_OK: 532 self._pirepDirectory.set_text( dialog.get_filename())532 self._pirepDirectory.set_text(text2unicode(dialog.get_filename())) 533 533 534 534 def _buildMessages(self):
Note:
See TracChangeset
for help on using the changeset viewer.