comparison tools/editor/scripts/editor.py @ 562:e34b44afd428

Fixed the built in pychan dialogs as they didin't work at all. Updated the editor to support modal execution and now use the pychan dialog message boxes for displaying some error messages.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 24 Jun 2010 19:58:59 +0000
parents ee65aa323457
children 90d369c788c0
comparison
equal deleted inserted replaced
561:85e8986e7b8f 562:e34b44afd428
103 103
104 ApplicationBase.__init__(self, TDS, *args, **kwargs) 104 ApplicationBase.__init__(self, TDS, *args, **kwargs)
105 MainWindow.__init__(self, *args, **kwargs) 105 MainWindow.__init__(self, *args, **kwargs)
106 pychan.init(self.engine, debug=False) 106 pychan.init(self.engine, debug=False)
107 107
108 pychan.setupModalExecution(self.mainLoop,self.breakFromMainLoop)
109
108 def _initTools(self): 110 def _initTools(self):
109 """ Initializes tools """ 111 """ Initializes tools """
110 self._pluginmanager = plugin.PluginManager(self.getSettings()) 112 self._pluginmanager = plugin.PluginManager(self.getSettings())
111 113
112 self._filemanager = FileManager() 114 self._filemanager = FileManager()