Author: rmottola
Date: Wed Nov 18 16:38:48 2015
New Revision: 39179

URL: http://svn.gna.org/viewcvs/gnustep?rev=39179&view=rev
Log:
Use pathForImageResource: instead of pathForResource

Modified:
    apps/gworkspace/trunk/ChangeLog
    apps/gworkspace/trunk/FSNode/FSNodeRep.m
    apps/gworkspace/trunk/GWorkspace/GWorkspaceInfo.plist

Modified: apps/gworkspace/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/ChangeLog?rev=39179&r1=39178&r2=39179&view=diff
==============================================================================
--- apps/gworkspace/trunk/ChangeLog     (original)
+++ apps/gworkspace/trunk/ChangeLog     Wed Nov 18 16:38:48 2015
@@ -1,9 +1,14 @@
+2015-11-18  Riccardo Mottola <[email protected]>
+
+       * FSNode/FSNodeRep.m
+       Use pathForImageResource: instead of pathForResource
+
 2015-11-07 Riccardo Mottola <[email protected]>
 
        * GWorkspace/Thumbnailer/GWThumbnailer.h
        * GWorkspace/Thumbnailer/GWThumbnailer.m
        Define maximum icon size to 64.
-       
+
        * GWorkspace/Thumbnailer/ImageThumbnailer/GNUmakefile.preamble
        * GWorkspace/Thumbnailer/ImageThumbnailer/ImageThumbnailer.h
        * GWorkspace/Thumbnailer/ImageThumbnailer/ImageThumbnailer.m

Modified: apps/gworkspace/trunk/FSNode/FSNodeRep.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/FSNode/FSNodeRep.m?rev=39179&r1=39178&r2=39179&view=diff
==============================================================================
--- apps/gworkspace/trunk/FSNode/FSNodeRep.m    (original)
+++ apps/gworkspace/trunk/FSNode/FSNodeRep.m    Wed Nov 18 16:38:48 2015
@@ -107,19 +107,19 @@
     
     oldresize = [[NSUserDefaults standardUserDefaults] boolForKey: 
@"old_resize"];
     
-    imagepath = [bundle pathForResource: @"MultipleSelection" ofType: @"tiff"];
+    imagepath = [bundle pathForImageResource: @"MultipleSelection"];
     multipleSelIcon = [[NSImage alloc] initWithContentsOfFile: imagepath]; 
-    imagepath = [bundle pathForResource: @"FolderOpen" ofType: @"tiff"];
+    imagepath = [bundle pathForImageResource: @"FolderOpen"];
     openFolderIcon = [[NSImage alloc] initWithContentsOfFile: imagepath]; 
-    imagepath = [bundle pathForResource: @"HardDisk" ofType: @"tiff"];
+    imagepath = [bundle pathForImageResource: @"HardDisk"];
     hardDiskIcon = [[NSImage alloc] initWithContentsOfFile: imagepath]; 
-    imagepath = [bundle pathForResource: @"HardDiskOpen" ofType: @"tiff"];
+    imagepath = [bundle pathForImageResource: @"HardDiskOpen"];
     openHardDiskIcon = [[NSImage alloc] initWithContentsOfFile: imagepath]; 
-    imagepath = [bundle pathForResource: @"Workspace" ofType: @"tiff"];
+    imagepath = [bundle pathForImageResource: @"Workspace"];
     workspaceIcon = [[NSImage alloc] initWithContentsOfFile: imagepath];
-    imagepath = [bundle pathForResource: @"Recycler" ofType: @"tiff"];
+    imagepath = [bundle pathForImageResource: @"Recycler"];
     trashIcon = [[NSImage alloc] initWithContentsOfFile: imagepath]; 
-    imagepath = [bundle pathForResource: @"RecyclerFull" ofType: @"tiff"];
+    imagepath = [bundle pathForImageResource: @"RecyclerFull"];
     trashFullIcon = [[NSImage alloc] initWithContentsOfFile: imagepath];
     
     iconsCache = [NSMutableDictionary new];

Modified: apps/gworkspace/trunk/GWorkspace/GWorkspaceInfo.plist
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/GWorkspace/GWorkspaceInfo.plist?rev=39179&r1=39178&r2=39179&view=diff
==============================================================================
--- apps/gworkspace/trunk/GWorkspace/GWorkspaceInfo.plist       (original)
+++ apps/gworkspace/trunk/GWorkspace/GWorkspaceInfo.plist       Wed Nov 18 
16:38:48 2015
@@ -4,6 +4,7 @@
     ApplicationIcon = "FileManager.tiff";
     ApplicationRelease = "0.9.3";
     NSBuildVersion = "05 2015";
+    CFBundleIdentifier = "org.gnustep.GWorkspace"
     Authors = (
       "Riccardo Mottola",
       "Enrico Sersale",


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to