Bug 8427 - svgview example not showing SVG files
Summary: svgview example not showing SVG files
Status: RESOLVED INVALID
Alias: None
Product: pycairo
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Steve Chaplin
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-26 10:39 UTC by Bruce Horn
Modified: 2006-09-27 05:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.