dabo Commit
Revision 4506
Date: 2008-09-07 19:18:01 -0700 (Sun, 07 Sep 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4506

Changed:
U   trunk/ide/ClassDesignerFormMixin.py
U   trunk/ide/wizards/QuickLayoutWizard.py

Log:
Fixed a problem that was causing a segfault when running the QuickLayoutWizard 
under Gtk.


Diff:
Modified: trunk/ide/ClassDesignerFormMixin.py
===================================================================
--- trunk/ide/ClassDesignerFormMixin.py 2008-09-05 19:45:43 UTC (rev 4505)
+++ trunk/ide/ClassDesignerFormMixin.py 2008-09-08 02:18:01 UTC (rev 4506)
@@ -786,7 +786,7 @@
                wiz.callback = self.addQuickLayout
                wiz.start()
                if wiz:
-                       wiz.release()
+                       wiz.hide()
 
        
        def addQuickLayout(self, layoutInfo):

Modified: trunk/ide/wizards/QuickLayoutWizard.py
===================================================================
--- trunk/ide/wizards/QuickLayoutWizard.py      2008-09-05 19:45:43 UTC (rev 
4505)
+++ trunk/ide/wizards/QuickLayoutWizard.py      2008-09-08 02:18:01 UTC (rev 
4506)
@@ -66,6 +66,7 @@
        def populateConnNames(self):
                dd = self.ddNames
                dd.Choices = self.Application.getConnectionNames()
+               dd.PositionValue = 0
                dd.refresh()
                
                
@@ -783,9 +784,10 @@
                                info[fld]["width"] = 
self.controlInfo[fld]["width"]
                        ret["fldInfo"] = info
                        ret["createBizobj"] = self.createBiz
-                       
+                       #dabo.ui.callAfter(self.callback, ret)
                        self.callback(ret)
-               return True
+                       self.hide()
+               return False
        
        
        def setConnectionName(self, nm):




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to