From: <zk...@us...> - 2009-01-20 12:51:40
|
Revision: 599 http://pyphant.svn.sourceforge.net/pyphant/?rev=599&view=rev Author: zklaus Date: 2009-01-20 12:51:30 +0000 (Tue, 20 Jan 2009) Log Message: ----------- Changed left click action to perform configuration (exactly as right click). Since the left click didn't do anything useful anyway, it can now also be used to configure workers, just like right click. This is especially useful on macs. Modified Paths: -------------- trunk/src/pyphant/pyphant/wxgui2/PyphantDiagram.py Modified: trunk/src/pyphant/pyphant/wxgui2/PyphantDiagram.py =================================================================== --- trunk/src/pyphant/pyphant/wxgui2/PyphantDiagram.py 2009-01-20 12:27:32 UTC (rev 598) +++ trunk/src/pyphant/pyphant/wxgui2/PyphantDiagram.py 2009-01-20 12:51:30 UTC (rev 599) @@ -290,7 +290,8 @@ def OnLeftClick(self, x, y, keys, attachment): frame=wx.GetTopLevelParent(self.GetCanvas()) - frame._wxPyphantApp.editCompositeWorker(self.workerShape.worker) + frame._wxPyphantApp.configureWorker(self.workerShape.worker) + #frame._wxPyphantApp.editCompositeWorker(self.workerShape.worker) class ConnectorBox(sogl.CompositeShape): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |