Revision: 8568 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8568&view=rev Author: mdboom Date: 2010-07-23 13:17:15 +0000 (Fri, 23 Jul 2010)
Log Message: ----------- Prevent traceback when window icon can not be loaded in Gtk backend. Modified Paths: -------------- branches/v1_0_maint/lib/matplotlib/backends/backend_gtk.py Modified: branches/v1_0_maint/lib/matplotlib/backends/backend_gtk.py =================================================================== --- branches/v1_0_maint/lib/matplotlib/backends/backend_gtk.py 2010-07-20 18:29:08 UTC (rev 8567) +++ branches/v1_0_maint/lib/matplotlib/backends/backend_gtk.py 2010-07-23 13:17:15 UTC (rev 8568) @@ -33,6 +33,7 @@ from matplotlib import lines from matplotlib import cbook +from matplotlib import verbose backend_version = "%d.%d.%d" % gtk.pygtk_version @@ -1224,7 +1225,6 @@ window_icon = None verbose.report('Could not load matplotlib icon: %s' % sys.exc_info()[1]) - def error_msg_gtk(msg, parent=None): if parent is not None: # find the toplevel gtk.Window parent = parent.get_toplevel() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins