1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/x11-wm/icewm-i18n/files/patch-ai
Yukihiro Nakai ca78734759 gettextized version of icewm.
PR:		ports/18484
Submitted by:	Yoichi ASAI <yatt@msc.biglobe.ne.jp>
2000-06-06 06:07:13 +00:00

27 lines
779 B
Plaintext

--- src/wmtaskbar.cc.orig Wed Dec 1 16:46:05 1999
+++ src/wmtaskbar.cc Wed Dec 1 16:46:15 1999
@@ -72,9 +72,9 @@
/** Use Linux 2.0 Penguin as start button */
#ifndef START_PIXMAP
-#define START_PIXMAP "linux.xpm"
+//#define START_PIXMAP "linux.xpm"
//#define START_PIXMAP "debian.xpm"
-//#define START_PIXMAP "bsd-daemon.xpm"
+#define START_PIXMAP "bsd-daemon.xpm"
//#define START_PIXMAP "start.xpm"
//#define START_PIXMAP "xfree86os2.xpm"
#endif
@@ -253,7 +253,11 @@
} else
fClock = 0;
#ifdef CONFIG_APM
+#ifdef __FreeBSD__
+ if (taskBarShowApm && access("/dev/apm", 0) == 0) {
+#else
if (taskBarShowApm && access("/proc/apm", 0) == 0) {
+#endif
fApm = new YApm(this);
if (fApm->height() + ADD1 > ht) ht = fApm->height() + ADD1;
} else