John Hunter schrieb: > On Fri, Aug 7, 2009 at 10:34 AM, John Hunter<jdh2...@gmail.com> wrote: > >> Unfortunately, the exception glib.GError is gtk version dependent so I >> can't easily catch it. I am loathe to do a blanket except catch, but >> I am not sure what the alternative is here. > > I committed a change to the release branch (I did not try setting the > png if the svg failed, I just give up on the icon) -- if you could > test from the svn repo: > > > svn co https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v0_99_maint > mpl99
It works now, but as expected I get no icon. Not sure if I don't like my hack better... I suspect it has to do with my glib or gtk installation (both compiled from source). Maybe I'll ask the folks there. Thanks anyway, Bernd -- Bernd Eggink http://sudrala.de ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users