Ignore:
Timestamp:
04/21/09 15:31:29 (4 years ago)
Author:
fma
Message:

Several improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/papywizard/plugins/timelordPlugins.py

    r1739 r1752  
    6565from papywizard.view.pluginFields import ComboBoxField, LineEditField, SpinBoxField, DoubleSpinBoxField, CheckBoxField, SliderField 
    6666 
     67DEFAULT_PROGRAM_PATH = "C:\\Program Files\\OxfordEye\\Timelord\\Timelord.exe" 
     68DEFAULT_LRD_FILE_PATH = "C:\\Documents and Settings\\win2k\\My Documents\\timelord.lrd" 
     69 
    6770 
    6871class TimelordShutter(AbstractShutterPlugin): 
     
    8689    def _defineConfig(self): 
    8790        AbstractShutterPlugin._defineConfig(self) 
    88         self._addConfigKey('Program path', 'PROGRAM_PATH', default="C:\\Program Files\\OxfordEye\\Timelord\\Timelord.exe") 
    89         self._addConfigKey('LRD file path', 'LRD_FILE_PATH', default="C:\\Documents and Settings\\win2k\\My Documents\\timelord.lrd") 
     91        self._addConfigKey('Program path', 'PROGRAM_PATH', default=DEFAULT_PROGRAM_PATH) 
     92        self._addConfigKey('LRD file path', 'LRD_FILE_PATH', default=DEFAULT_LRD_FILE_PATH) 
    9093 
    9194    def activate(self): 
Note: See TracChangeset for help on using the changeset viewer.