Mercurial > fife-parpg
comparison clients/editor/run.py @ 179:28532ae6f9f6
Moved all editor content out of content, as chewie says it's deprecated as hell ;-)
author | cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 30 Jan 2009 00:54:07 +0000 |
parents | ade070598fd1 |
children | bcc93e17f978 |
comparison
equal
deleted
inserted
replaced
178:7dc59bd3d6b1 | 179:28532ae6f9f6 |
---|---|
40 | 40 |
41 def showHelp(self): | 41 def showHelp(self): |
42 if self._helpWidget: | 42 if self._helpWidget: |
43 self._helpWidget.show() | 43 self._helpWidget.show() |
44 return | 44 return |
45 self._helpWidget = pychan.loadXML('content/gui/help.xml') | 45 self._helpWidget = pychan.loadXML('gui/help.xml') |
46 self._helpWidget.mapEvents({ 'closeButton' : self._helpWidget.hide }) | 46 self._helpWidget.mapEvents({ 'closeButton' : self._helpWidget.hide }) |
47 self._helpWidget.distributeData({ 'helpText' : open("content/infotext.txt").read() }) | 47 self._helpWidget.distributeData({ 'helpText' : open("misc/infotext.txt").read() }) |
48 self._helpWidget.show() | 48 self._helpWidget.show() |
49 | 49 |
50 class Editor(basicapplication.ApplicationBase): | 50 class Editor(basicapplication.ApplicationBase): |
51 def __init__(self, params): | 51 def __init__(self, params): |
52 super(Editor,self).__init__() | 52 super(Editor,self).__init__() |