summaryrefslogtreecommitdiff
path: root/wm/icewm/patches/patch-ak
blob: d29f60ab6f75822cbdbbaef5f50354c745729897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$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())