-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tag 335165 patch
thanks

Attached is a patch that seems to fix the problem by redefining the
"next" function instead of disconnecting / reconnecting nextButton's
click() to checkNext.

Cheers,
Jeremy

- --
http://www.jerryweb.org/             : JerryWeb.org
http://sailcut.sourceforge.net/      : Sailcut CAD
http://opensource.polytechnique.org/ : Polytechnique.org Free Software
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDWf4N4mJJZqJp2ScRAsLQAJ4lIlux9w0UwMa6Z4ud+60Azq8KGgCaAqzv
Fst15fNr1dxbBtRWmNflQKw=
=kIPs
-----END PGP SIGNATURE-----
diff -ur luma-2.2.1.orig/lib/luma/plugins/addressbook/ContactWizard.py 
luma-2.2.1/lib/luma/plugins/addressbook/ContactWizard.py
--- luma-2.2.1.orig/lib/luma/plugins/addressbook/ContactWizard.py       
2005-08-22 17:19:57.000000000 +0200
+++ luma-2.2.1/lib/luma/plugins/addressbook/ContactWizard.py    2005-10-22 
10:40:50.000000000 +0200
@@ -53,10 +53,7 @@
             
         self.setFinishEnabled(self.page(1), 1)
         self.disconnect(self.finishButton(), SIGNAL("clicked()"), self, 
SLOT("accept()"))
-        self.disconnect(self.nextButton(), SIGNAL("clicked()"), self, 
SLOT("next()"))
         
-        self.connect(self.nextButton(),SIGNAL("clicked()"), self.checkNext)
-            
         tmpWidget = self.page(1)
         self.addressWidget = AddressbookWidget(self.contactFrame)
         tmpLayout = QHBoxLayout(self.contactFrame)
@@ -133,7 +130,7 @@
             
 ###############################################################################
 
-    def checkNext(self):
+    def next(self):
         result = self.checkLocation()
         
         if result == 0:
@@ -153,7 +150,7 @@
             dataObject = SmartDataObject(('', {'objectClass': 
self.getPossibleClasses()}), self.serverMeta)
             self.addressWidget.initView(dataObject)
             self.addressWidget.enableContactFields(allowedAttributes)
-            self.next()
+            ContactWizardDesign.next(self)
             
 ###############################################################################
 
diff -ur luma-2.2.1.orig/lib/luma/plugins/usermanagement/AccountWizard.py 
luma-2.2.1/lib/luma/plugins/usermanagement/AccountWizard.py
--- luma-2.2.1.orig/lib/luma/plugins/usermanagement/AccountWizard.py    
2005-08-22 17:19:57.000000000 +0200
+++ luma-2.2.1/lib/luma/plugins/usermanagement/AccountWizard.py 2005-10-22 
10:47:09.000000000 +0200
@@ -53,10 +53,6 @@
             
         self.setFinishEnabled(self.page(1), 1)
         self.disconnect(self.finishButton(), SIGNAL("clicked()"), self, 
SLOT("accept()"))
-        self.disconnect(self.nextButton(), SIGNAL("clicked()"), self, 
SLOT("next()"))
-        
-        self.connect(self.nextButton(),SIGNAL("clicked()"), self.checkNext)
-           
           
         self.accountWidget = UsermanagementWidget(self.accountFrame)
         tmpLayout = QHBoxLayout(self.accountFrame)
@@ -212,7 +208,7 @@
             
 ###############################################################################
 
-    def checkNext(self):
+    def next(self):
         result = self.checkLocation()
         
         if result == 0:
@@ -235,7 +231,7 @@
             
             self.accountWidget.initView(dataObject)
             
-            self.next()
+            AccountWizardDesign.next(self)
             
 ###############################################################################
 

Reply via email to