From: <ds...@us...> - 2008-06-30 13:21:30
|
Revision: 5699 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5699&view=rev Author: dsdale Date: 2008-06-30 06:21:19 -0700 (Mon, 30 Jun 2008) Log Message: ----------- removed Qt4's NavigationToolbar2.destroy method Modified Paths: -------------- trunk/matplotlib/CHANGELOG trunk/matplotlib/lib/matplotlib/backends/backend_qt4.py Modified: trunk/matplotlib/CHANGELOG =================================================================== --- trunk/matplotlib/CHANGELOG 2008-06-30 12:13:55 UTC (rev 5698) +++ trunk/matplotlib/CHANGELOG 2008-06-30 13:21:19 UTC (rev 5699) @@ -1,3 +1,7 @@ +2008-06-30 Removed Qt4 NavigationToolbar2.destroy -- it appears to + have been unnecessary and caused a bug reported by P. + Raybaut - DSD + 2008-06-27 Fixed tick positioning bug - MM 2008-06-27 Fix dashed text bug where text was at the wrong end of the Modified: trunk/matplotlib/lib/matplotlib/backends/backend_qt4.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_qt4.py 2008-06-30 12:13:55 UTC (rev 5698) +++ trunk/matplotlib/lib/matplotlib/backends/backend_qt4.py 2008-06-30 13:21:19 UTC (rev 5699) @@ -311,13 +311,6 @@ # reference holder for subplots_adjust window self.adj_window = None - def destroy( self ): - for text, tooltip_text, image_file, callback in self.toolitems: - if text is not None: - QtCore.QObject.disconnect( self.buttons[ text ], - QtCore.SIGNAL( 'clicked()' ), - getattr( self, callback ) ) - def dynamic_update( self ): self.canvas.draw() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |