Bug 8427

Summary: svgview example not showing SVG files
Product: pycairo Reporter: Bruce Horn <kangabroo>
Component: generalAssignee: Steve Chaplin <d74n5pohf9>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Bruce Horn 2006-09-26 10:39:40 UTC
If you run svgview with no args, then open an SVG file using the menu, it is not
displayed in the main window. This is because app.show_all() has been called
before the aspect frame and SVGWidget have been created.

To fix, simply add self.af.show_all() after self.af.add(self.da) in
examples/svg/svgview.py:100

Using version 1.0.2 of pycairo.
Comment 1 Steve Chaplin 2006-09-27 05:34:19 UTC
The cairo.svg module is no longer part of pycairo. See
    http://www.cairographics.org/PycairoFAQ
cairo.svg should really have been a package independent from pycairo since it
wraps a different C library (libsvg-cairo and not cairo).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.