Ignore:
Timestamp:
03/12/11 00:34:53 (9 years ago)
Author:
aspidites
Message:

Patch by Aspidites:

-updated all calls to settings.paths to the more readable settings.system_path and settings.user_path properties

  • renamed sys_path to system_path for consistency
Location:
branches/active/character_customization/game/parpg/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/active/character_customization/game/parpg/gui/filebrowser.py

    r810 r813  
    4848         
    4949        self.extensions = extensions 
    50         self.path = os.path.join(self.settings.paths['user'], 
     50        self.path = os.path.join(self.settings.user_path, 
    5151                                 self.settings.parpg.SavesDirectory) 
    5252        self.dir_list = [] 
  • branches/active/character_customization/game/parpg/gui/hud.py

    r810 r813  
    274274            @return: None""" 
    275275        self.stopActions() 
    276         xml_path = os.path.join(self.settings.paths['system'], 
     276        xml_path = os.path.join(self.settings.system_path, 
    277277                                    self.settings.parpg.GuiDirectory, 
    278278                                    'savebrowser.xml') 
     
    319319            @return: None""" 
    320320        self.stopActions() 
    321         xml_path = os.path.join(self.settings.paths['system'], 
     321        xml_path = os.path.join(self.settings.system_path, 
    322322                                    self.settings.parpg.GuiDirectory, 
    323323                                    'loadbrowser.xml') 
  • branches/active/character_customization/game/parpg/gui/menus.py

    r801 r813  
    130130 
    131131    def reset(self): 
    132         self.settings.read(self.settings.paths[0]) 
     132        self.settings.read(self.settings.system_path) 
    133133        self.fillWidgets() 
    134134 
Note: See TracChangeset for help on using the changeset viewer.