pkgsrc/sysutils/fsviewer/patches/patch-ac

32 lines
1.1 KiB
Text

$NetBSD: patch-ac,v 1.2 2001/07/22 17:42:09 wiz Exp $
--- src/FSFinder.c.orig Sat Oct 9 20:45:24 1999
+++ src/FSFinder.c
@@ -138,11 +138,11 @@
}
memset((void *) &attributes, 0, sizeof(GNUstepWMAttributes));
- attributes.window_style = (NSTitledWindowMask |
- NSMiniaturizableWindowMask |
- NSClosableWindowMask |
- NSResizableWindowMask);
- attributes.window_level = NSNormalWindowLevel;
+ attributes.window_style = (WMTitledWindowMask |
+ WMMiniaturizableWindowMask |
+ WMClosableWindowMask |
+ WMResizableWindowMask);
+ attributes.window_level = WMNormalWindowLevel;
attributes.extra_flags = GSFullKeyboardEventsFlag;
attributes.flags = (GSWindowStyleAttr | GSWindowLevelAttr |
GSExtraFlagsAttr);
@@ -172,8 +172,8 @@
WMTextDidEndEditingNotification,
finder->searchField);
- WMSetWindowMiniwindowImage(finder->win,
- WMGetApplicationIconImage(finder->scr));
+ WMSetWindowMiniwindowPixmap(finder->win,
+ WMGetApplicationIconPixmap(finder->scr));
return finder;
}