Author: rmottola
Date: Wed Feb 17 14:59:45 2016
New Revision: 39387

URL: http://svn.gna.org/viewcvs/gnustep?rev=39387&view=rev
Log:
Self initialize FSNodeRep with removable medias and don't go through GWorkspace 
which used a non-API method

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

Modified: apps/gworkspace/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/ChangeLog?rev=39387&r1=39386&r2=39387&view=diff
==============================================================================
--- apps/gworkspace/trunk/ChangeLog     (original)
+++ apps/gworkspace/trunk/ChangeLog     Wed Feb 17 14:59:45 2016
@@ -1,3 +1,9 @@
+2016-02-17  Riccardo Mottola <[email protected]>
+
+       * FSNode/FSNodeRep.m
+       * GWorkspace/GWorkspace.m
+       Self initialize FSNodeRep with removable medias and don't go through 
GWorkspace which used a non-API method.
+
 2016-02-16  Riccardo Mottola <[email protected]>
 
        * FSNode/FSNodeRep.h

Modified: apps/gworkspace/trunk/FSNode/FSNodeRep.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/FSNode/FSNodeRep.m?rev=39387&r1=39386&r2=39387&view=diff
==============================================================================
--- apps/gworkspace/trunk/FSNode/FSNodeRep.m    (original)
+++ apps/gworkspace/trunk/FSNode/FSNodeRep.m    Wed Feb 17 14:59:45 2016
@@ -165,6 +165,7 @@
     lockedPaths = [NSMutableArray new];        
     hiddenPaths = [NSArray new];
     volumes = [[NSMutableSet alloc] initWithCapacity: 1];
+    [self setVolumes:[ws mountedRemovableMedia]];
     reservedNames = [[NSMutableSet alloc] initWithCapacity: 1];
     
     [self loadExtendedInfoModules];

Modified: apps/gworkspace/trunk/GWorkspace/GWorkspace.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/GWorkspace/GWorkspace.m?rev=39387&r1=39386&r2=39387&view=diff
==============================================================================
--- apps/gworkspace/trunk/GWorkspace/GWorkspace.m       (original)
+++ apps/gworkspace/trunk/GWorkspace/GWorkspace.m       Wed Feb 17 14:59:45 2016
@@ -1,6 +1,6 @@
 /* GWorkspace.m
  *  
- * Copyright (C) 2003-2015 Free Software Foundation, Inc.
+ * Copyright (C) 2003-2016 Free Software Foundation, Inc.
  *
  * Author: Enrico Sersale <[email protected]>
  *         Riccardo Mottola
@@ -371,8 +371,6 @@
            
   defaults = [NSUserDefaults standardUserDefaults];
   [defaults setObject: gwProcessName forKey: @"GSWorkspaceApplication"];
-
-  [fsnodeRep setVolumes: [ws removableMediaPaths]];
         
   entry = [defaults objectForKey: @"reserved_names"];
   if (entry) 


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

Reply via email to