Changeset 164:a2bd429c9f9e


Ignore:
Timestamp:
05/07/12 17:31:20 (13 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Fixed the handling of filenames

Location:
src/mlx/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/flight.py

    r154 r164  
    22992299            pirep = PIREP(gui)
    23002300
    2301             self._lastSavePath = dialog.get_filename()
     2301            self._lastSavePath = text2unicode(dialog.get_filename())
    23022302           
    23032303            if pirep.save(self._lastSavePath):
  • src/mlx/gui/gui.py

    r152 r164  
    903903
    904904        if result==RESPONSETYPE_OK:
    905             self._lastLoadedPIREP = dialog.get_filename()
     905            self._lastLoadedPIREP = text2unicode(dialog.get_filename())
    906906
    907907            pirep = PIREP.load(self._lastLoadedPIREP)
  • src/mlx/gui/prefs.py

    r151 r164  
    102102        config.flareTimeFromFS = self._flareTimeFromFS.get_active()
    103103        config.syncFSTime = self._syncFSTime.get_active()
    104         config.pirepDirectory = self._pirepDirectory.get_text()
     104        config.pirepDirectory = text2unicode(self._pirepDirectory.get_text())
    105105
    106106        for messageType in const.messageTypes:
Note: See TracChangeset for help on using the changeset viewer.