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

Added the Using FS2Crew option

File:
1 edited

Legend:

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

    r174 r183  
    228228        self._flareTimeFromFS.set_active(config.flareTimeFromFS)
    229229        self._syncFSTime.set_active(config.syncFSTime)
     230        self._usingFS2Crew.set_active(config.usingFS2Crew)
    230231
    231232        pirepDirectory = config.pirepDirectory
     
    267268        config.flareTimeFromFS = self._flareTimeFromFS.get_active()
    268269        config.syncFSTime = self._syncFSTime.get_active()
     270        config.usingFS2Crew = self._usingFS2Crew.get_active()
    269271        config.pirepDirectory = text2unicode(self._pirepDirectory.get_text())
    270272
     
    353355        self._syncFSTime.set_tooltip_text(xstr("prefs_syncFSTime_tooltip"))
    354356        mainBox.pack_start(self._syncFSTime, False, False, 4)
     357
     358        self._usingFS2Crew = gtk.CheckButton(xstr("prefs_usingFS2Crew"))
     359        self._usingFS2Crew.set_use_underline(True)
     360        self._usingFS2Crew.set_tooltip_text(xstr("prefs_usingFS2Crew_tooltip"))
     361        mainBox.pack_start(self._usingFS2Crew, False, False, 4)
    355362
    356363        pirepBox = gtk.HBox()
Note: See TracChangeset for help on using the changeset viewer.