pkgsrc/wm/icewm/patches/patch-ak

18 lines
811 B
Text

$NetBSD: patch-ak,v 1.4 2008/06/17 08:32:41 hauke Exp $
--- src/wmtaskbar.cc.orig 2008-01-05 08:34:24.000000000 +0100
+++ src/wmtaskbar.cc
@@ -81,7 +81,12 @@ static void initPixmaps() {
* filename. This will be unified and be a forced standard in
* icewm-2
*/
- startImage = themedirs.loadImage(base, "start.xpm");
+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+ /* pkgsrc on *BSD: Try Beastie first */
+ startImage = subdirs.loadImage(base, "bsd-daemon.xpm");
+ if (startImage == null || !startImage->valid())
+#endif
+ startImage = themedirs.loadImage(base, "start.xpm");
if (startImage == null || !startImage->valid())
startImage = themedirs.loadImage(base, "linux.xpm");
if (startImage == null || !startImage->valid())