From: <jd...@us...> - 2008-06-05 14:44:13
|
Revision: 5397 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5397&view=rev Author: jdh2358 Date: 2008-06-05 07:44:07 -0700 (Thu, 05 Jun 2008) Log Message: ----------- getting classic toolbar in sync on branch and trunk for svnmerge Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py Property Changed: ---------------- trunk/matplotlib/ Property changes on: trunk/matplotlib ___________________________________________________________________ Name: svnmerge-integrated - /branches/v0_91_maint:1-5385 + /branches/v0_91_maint:1-5396 Modified: trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py 2008-06-05 14:37:03 UTC (rev 5396) +++ trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py 2008-06-05 14:44:07 UTC (rev 5397) @@ -386,6 +386,7 @@ def get_default_filetype(self): return 'png' + def flush_events(self): gtk.gdk.threads_enter() while gtk.events_pending(): @@ -393,7 +394,6 @@ gtk.gdk.flush() gtk.gdk.threads_leave() - class FigureManagerGTK(FigureManagerBase): """ Public attributes @@ -950,6 +950,7 @@ except Exception, e: error_msg_gtk(str(e), parent=self) + if gtk.pygtk_version >= (2,4,0): class FileChooserDialog(gtk.FileChooserDialog): """GTK+ 2.4 file selector which remembers the last file/directory This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |