summaryrefslogtreecommitdiff
path: root/sysutils/fsviewer/patches/patch-ab
blob: 5fe0ad2fd4229e58c6bd1b4f420a36c300aea42a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-ab,v 1.2 2001/07/22 17:42:08 wiz Exp $

--- src/FSFileView.c.orig	Sat Oct  9 20:45:21 1999
+++ src/FSFileView.c
@@ -397,10 +397,10 @@
     if ((fView->primary))
     {
 	memset((void *) &attributes, 0, sizeof(GNUstepWMAttributes));
-	attributes.window_style = (NSTitledWindowMask |
-				   NSMiniaturizableWindowMask | 
-				   NSResizableWindowMask);
-	attributes.window_level = NSNormalWindowLevel;
+	attributes.window_style = (WMTitledWindowMask |
+				   WMMiniaturizableWindowMask | 
+				   WMResizableWindowMask);
+	attributes.window_level = WMNormalWindowLevel;
 	attributes.extra_flags = GSFullKeyboardEventsFlag;
 	attributes.flags = (GSWindowStyleAttr | GSWindowLevelAttr |
 			    GSExtraFlagsAttr);
@@ -444,8 +444,8 @@
                               WMViewSizeDidChangeNotification,
                               WMWidgetView(fView->fileBrowserF));
 
-    WMSetWindowMiniwindowImage(fView->fileView, 
-			       WMGetApplicationIconImage(fView->scr));
+    WMSetWindowMiniwindowPixmap(fView->fileView, 
+			       WMGetApplicationIconPixmap(fView->scr));
 
     array = WMGetUDObjectForKey(defaultsDB, "SHELF");
     if(array && PLIsArray(array))