Re: SVG icons supported?
Bernd Eggink <[email protected]> Mon, 10 Aug 2009 21:44:57 +0200
| Newsgroups | gmane.comp.window-managers.icewm.devel |
|---|---|
| Message-ID | <[email protected]> |
Ingo Brueckl schrieb: > Bernd Eggink <[email protected]> writes: > >> Are SVG icons supported in IceWM 1.3.4pre2? The documentation isn't >> clear about that, but I guess they aren't. > > This hasn't changed since 1.3.3 (the version I use and know about). An icon > file for foo, size 16 will be searched for in the order > > foo_16x16.xpm > foo.xpm > foo.png Thanks Ingo, but I meant something different. Let a python programm call window.set_icon_from_file("some_icon") If "some_icon" contains a png image (irrespective of the suffix), the icon appears in the top left corner of the window, as expected. However, if the file contains a svg image, the program crashes with the error message glib.GError: Couldn't recognize the image file format for file some_icon The question remains whether this happens because IceWM's refuses to display svg images. 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