Ignore:
Timestamp:
10/03/09 17:07:11 (10 years ago)
Author:
eliedebrauwer
Message:

Ticket #110: Patch by Elie De Brauwer. removed parpgfilebrowser, filebrowser seems to have the required logic already on board, also added licensing information and some formatting to filebrowser.py fix. fixes[s:trac, t:110]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/hud.py

    r294 r303  
    1919import pychan.widgets as widgets 
    2020from pychan.tools import callbackWithArguments as cbwa 
    21 from scripts.parpgfilebrowser import PARPGFileBrowser 
     21from scripts.filebrowser import FileBrowser 
    2222from scripts.context_menu import ContextMenu 
    2323from scripts import inventory 
     
    266266        """ Called when the user wants to save the game. 
    267267            @return: None""" 
    268         save_browser = PARPGFileBrowser(self.engine, 
     268        save_browser = FileBrowser(self.engine, 
    269269                                   self.saveGameCallback, 
    270270                                   savefile=True, 
     
    281281        """ Called when the user wants to load a game. 
    282282            @return: None""" 
    283         load_browser = PARPGFileBrowser(self.engine, 
     283        load_browser = FileBrowser(self.engine, 
    284284                                   self.loadGameCallback, 
    285285                                   savefile=False, 
Note: See TracChangeset for help on using the changeset viewer.