def updateProfileToControls(self):
self.pluginConfig = profile.getPluginConfig()
- print 'pluginPanel::updateProfileToControls', self.pluginConfig
for p in self.panelList:
p.Show(False)
self.pluginEnabledPanel.GetSizer().Detach(p)
return True
def OnSettingChange(self, e):
- print 'pluginPanel::OnSettingChange'
for panel in self.panelList:
idx = self.panelList.index(panel)
for k in panel.paramCtrls.keys():
def setPluginConfig(config):
putProfileSetting('plugin_config', pickle.dumps(config))
- print 'setPluginConfig:', config
- locationInfo = traceback.extract_tb(sys.exc_info()[2])[-1]
- print "%s: '%s' @ %s:%s:%d" % (str(sys.exc_info()[0].__name__), str(sys.exc_info()[1]), os.path.basename(locationInfo[0]), locationInfo[2], locationInfo[1])
def getPluginBasePaths():
ret = []