comparison clients/editor/plugins/objectedit.py @ 178:7dc59bd3d6b1

Small cleanup in editor directory: * Moved icons/ and gui/offsetedit.xml into content directory.
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 30 Jan 2009 00:24:50 +0000
parents ade070598fd1
children 28532ae6f9f6
comparison
equal deleted inserted replaced
177:3fb17daa1b27 178:7dc59bd3d6b1
113 def create_gui(self): 113 def create_gui(self):
114 """ 114 """
115 - creates the gui skeleton by loading the xml file 115 - creates the gui skeleton by loading the xml file
116 - finds some important childs and saves their widget in the object 116 - finds some important childs and saves their widget in the object
117 """ 117 """
118 self.container = pychan.loadXML('gui/offsetedit.xml') 118 self.container = pychan.loadXML('content/gui/offsetedit.xml')
119 self.container.mapEvents({ 119 self.container.mapEvents({
120 'x_offset_up' : cbwa(self.change_offset_x, 1), 120 'x_offset_up' : cbwa(self.change_offset_x, 1),
121 'x_offset_dn' : cbwa(self.change_offset_x, -1), 121 'x_offset_dn' : cbwa(self.change_offset_x, -1),
122 122
123 'y_offset_up' : cbwa(self.change_offset_y, 1), 123 'y_offset_up' : cbwa(self.change_offset_y, 1),