SVG icons supported?

[email protected] (Ingo Brueckl) Tue, 11 Aug 2009 16:03:00 +0200
Newsgroups gmane.comp.window-managers.icewm.devel
Message-ID <[email protected]>
Bernd Eggink <[email protected]> writes:

> Thanks Ingo, but I meant something different. Let a python programm call

>         window.set_icon_from_file("some_icon")

I don't know how python interacts with icewm.

> The question remains whether this happens because IceWM's refuses to
> display svg images.

If your gdk_pixbuf has svg support (mine unfortunately hasn't), patch icewm
and try.

Ingo

------------------------------------------------------------------------------
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

_______________________________________________
Icewm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icewm-devel
icewm.svg.patch (application/octet-stream, 417 B)
diff -Nur icewm-1.3.3.orig/src/yicon.cc icewm-1.3.3/src/yicon.cc
--- icewm-1.3.3.orig/src/yicon.cc	2008-10-15 19:21:47.000000000 +0200
+++ icewm-1.3.3/src/yicon.cc	2009-08-11 16:14:02.000000000 +0200
@@ -80,6 +80,10 @@
     if (fullpath.fileExists())
         return fullpath;
 
+    fullpath = joinPath(dir, base.addExtension(".svg"));
+    if (fullpath.fileExists())
+        return fullpath;
+
     return 0;
 }