conduit r1558 - in trunk: . conduit/gtkui
- From: jstowers svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1558 - in trunk: . conduit/gtkui
- Date: Wed, 16 Jul 2008 04:48:57 +0000 (UTC)
Author: jstowers
Date: Wed Jul 16 04:48:57 2008
New Revision: 1558
URL: http://svn.gnome.org/viewvc/conduit?rev=1558&view=rev
Log:
Fix hang on exit when configuring the factories
Modified:
trunk/ (props changed)
trunk/conduit/gtkui/UI.py
Modified: trunk/conduit/gtkui/UI.py
==============================================================================
--- trunk/conduit/gtkui/UI.py (original)
+++ trunk/conduit/gtkui/UI.py Wed Jul 16 04:48:57 2008
@@ -326,14 +326,11 @@
if currentValue == policyValue:
widget.set_active(True)
- #Add configuration widgets for all factories
#The dataprovider factories can provide a configuration widget which is
#packed into the notebook
- factoryConfigurationWidgets = []
for i in conduit.GLOBALS.moduleManager.dataproviderFactories:#get_modules_by_type("dataprovider-factory"):
widget = i.setup_configuration_widget()
if widget:
- factoryConfigurationWidgets.append(widget)
notebook.append_page(
widget,
gtk.Label(i.get_name()))
@@ -362,7 +359,7 @@
policyValue)
#give the dataprovider factories to ability to save themselves
- for factory in factoryConfigurationWidgets:
+ for factory in conduit.GLOBALS.moduleManager.dataproviderFactories:
factory.save_configuration(response == gtk.RESPONSE_OK)
dialog.destroy()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]