diff clients/editor/plugins/mapeditor.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 3fb17daa1b27
children bcc93e17f978
line wrap: on
line diff
--- a/clients/editor/plugins/mapeditor.py	Fri Jan 30 00:24:50 2009 +0000
+++ b/clients/editor/plugins/mapeditor.py	Fri Jan 30 00:54:07 2009 +0000
@@ -32,7 +32,7 @@
 
 	def show(self, map):
 		if not self._mapedit:
-			self._mapedit = pychan.loadXML('content/gui/mapeditor.xml')
+			self._mapedit = pychan.loadXML('gui/mapeditor.xml')
 			self._mapedit.mapEvents({
 				'layerButton'  : self._onLayerSelect,
 				'objButton'   : self._onObjectSelect,
@@ -63,7 +63,7 @@
 	
 	def show(self):
 		if not self._toolbar:
-			self._toolbar = pychan.loadXML('content/gui/tools.xml')
+			self._toolbar = pychan.loadXML('gui/tools.xml')
 			evtmap = {
 				'btnSelect' : self._onSelect,
 				'btnMove' : self._onMove,
@@ -107,7 +107,7 @@
 	
 class StatusBar(object):
 	def __init__(self, screenw, screenh):
-		self._statusbar = pychan.loadXML('content/gui/statuspanel.xml')
+		self._statusbar = pychan.loadXML('gui/statuspanel.xml')
 		self._statusbar.show()
 		height = 25
 		self._statusbar.position = (0, screenh - height)