comparison engine/extensions/filebrowser.py @ 255:51cc05d862f2

Merged editor_rewrite branch to trunk. This contains changes that may break compatibility against existing clients. For a list of changes that may affect your client, see: http://wiki.fifengine.de/Changes_to_pychan_and_FIFE_in_editor_rewrite_branch
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 08 Jun 2009 16:00:02 +0000
parents 28532ae6f9f6
children 0b1992a3dfe7
comparison
equal deleted inserted replaced
254:10b5f7f36dd4 255:51cc05d862f2
37 'selectButton' : self._selectFile, 37 'selectButton' : self._selectFile,
38 'closeButton' : self._widget.hide 38 'closeButton' : self._widget.hide
39 }) 39 })
40 self._setDirectory() 40 self._setDirectory()
41 if self.savefile: 41 if self.savefile:
42 self._file_entry = widgets.TextField(name='saveField', text='') 42 self._file_entry = widgets.TextField(name='saveField', text=u'')
43 self._widget.findChild(name="fileColumn").addChild(self._file_entry) 43 self._widget.findChild(name="fileColumn").addChild(self._file_entry)
44 self._widget.show() 44 self._widget.show()
45 45
46 def _setDirectory(self): 46 def _setDirectory(self):
47 selection = self._widget.collectData('dirList') 47 selection = self._widget.collectData('dirList')