Author: rmottola
Date: Thu Dec  3 11:55:35 2015
New Revision: 39213

URL: http://svn.gna.org/viewcvs/gnustep?rev=39213&view=rev
Log:
In the icon changed notification, pass in side the info object only the 
actually created/deleted icons: do not put an empty object with the missing 
ones. Saves space in the info object.

Removed:
    apps/gworkspace/trunk/FSNode/Resources/Images/ArrowRight.tiff
Modified:
    apps/gworkspace/trunk/ChangeLog
    apps/gworkspace/trunk/GWorkspace/GWorkspace.m
    apps/gworkspace/trunk/GWorkspace/Thumbnailer/GWThumbnailer.m

Modified: apps/gworkspace/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/ChangeLog?rev=39213&r1=39212&r2=39213&view=diff
==============================================================================
--- apps/gworkspace/trunk/ChangeLog     (original)
+++ apps/gworkspace/trunk/ChangeLog     Thu Dec  3 11:55:35 2015
@@ -1,3 +1,13 @@
+2015-12-03 Riccardo Mottola <[email protected]>
+
+       * FSNode/FSNIcon.m
+       * FSNode/FSNPathComponentsViewer.m
+       Use NSBrowserCell image for branch image, so that it uses the current 
theme.
+
+       * GWorkspace/GWorkspace.m
+       * GWorkspace/Thumbnailer/GWThumbnailer.m
+       In the icon changed notification, pass in side the info object only the 
actually created/deleted icons: do not put an empty object with the missing 
ones. Saves space in the info object.
+
 2015-12-02 Riccardo Mottola <[email protected]>
 
        * GWorkspace/Thumbnailer/GWThumbnailer.h

Removed: apps/gworkspace/trunk/FSNode/Resources/Images/ArrowRight.tiff
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/FSNode/Resources/Images/ArrowRight.tiff?rev=39212&view=auto
==============================================================================
Binary file - no diff available.

Modified: apps/gworkspace/trunk/GWorkspace/GWorkspace.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/GWorkspace/GWorkspace.m?rev=39213&r1=39212&r2=39213&view=diff
==============================================================================
--- apps/gworkspace/trunk/GWorkspace/GWorkspace.m       (original)
+++ apps/gworkspace/trunk/GWorkspace/GWorkspace.m       Thu Dec  3 11:55:35 2015
@@ -1583,7 +1583,7 @@
 
     thumbnailDir = [thumbnailDir stringByAppendingPathComponent: 
@"Thumbnails"];
   
-    if ([deleted count]) {
+    if (deleted && [deleted count]) {
       for (i = 0; i < [deleted count]; i++) {
         NSString *path = [deleted objectAtIndex: i];
         NSString *dir = [path stringByDeletingLastPathComponent];
@@ -1603,7 +1603,7 @@
       [tmbdirs removeAllObjects];
     }
 
-    if ([created count]) {
+    if (created && [created count]) {
       NSString *dictName = @"thumbnails.plist";
       NSString *dictPath = [thumbnailDir stringByAppendingPathComponent: 
dictName];
       

Modified: apps/gworkspace/trunk/GWorkspace/Thumbnailer/GWThumbnailer.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/GWorkspace/Thumbnailer/GWThumbnailer.m?rev=39213&r1=39212&r2=39213&view=diff
==============================================================================
--- apps/gworkspace/trunk/GWorkspace/Thumbnailer/GWThumbnailer.m        
(original)
+++ apps/gworkspace/trunk/GWorkspace/Thumbnailer/GWThumbnailer.m        Thu Dec 
 3 11:55:35 2015
@@ -339,8 +339,7 @@
       [defaults setObject: [NSNumber numberWithLong: thumbref] 
                    forKey: @"thumbref"];
       [defaults synchronize];
-
-      [info setObject: [NSArray array] forKey: @"deleted"];    
+       
       [info setObject: added forKey: @"created"];      
 
       [self writeDictToFile];
@@ -391,7 +390,6 @@
       NSMutableDictionary *info = [NSMutableDictionary dictionary];
       
       [info setObject: deleted forKey: @"deleted"];    
-      [info setObject: [NSArray array] forKey: @"created"];
 
       [self writeDictToFile];
       


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

Reply via email to