Revision: 5211
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5211&view=rev
Author:   hofman
Date:     2009-02-13 20:21:06 +0000 (Fri, 13 Feb 2009)

Log Message:
-----------
remove declaration of removed openmeta methods

Modified Paths:
--------------
    trunk/SKPDFDocument.m
    trunk/Skim.sdef

Modified: trunk/SKPDFDocument.m
===================================================================
--- trunk/SKPDFDocument.m       2009-02-12 14:15:14 UTC (rev 5210)
+++ trunk/SKPDFDocument.m       2009-02-13 20:21:06 UTC (rev 5211)
@@ -87,7 +87,6 @@
 static NSString *SKAutoReloadFileUpdateKey = @"SKAutoReloadFileUpdate";
 static NSString *SKAutoRotatePrintedPagesKey = @"SKAutoRotatePrintedPages";
 static NSString *SKDisableReloadAlertKey = @"SKDisableReloadAlert";
-static NSString *SKSaveOpenMetaTagsKey = @"SKSaveOpenMetaTags";
 
 static void *SKPDFDocumentDefaultsObservationContext = (void 
*)@"SKPDFDocumentDefaultsObservationContext";
 
@@ -363,20 +362,6 @@
                 [alert runModal];
             }
             
-            if ([[NSUserDefaults standardUserDefaults] 
boolForKey:SKSaveOpenMetaTagsKey] || saveOperation != NSSaveOperation) {
-                SKNExtendedAttributeManager *eam = 
[SKNExtendedAttributeManager sharedNoSplitManager];
-                
-                if ([[self tags] count])
-                    [eam setExtendedAttributeNamed:OPEN_META_TAGS_KEY 
toPropertyListValue:[self tags] atPath:[absoluteURL path] 
options:kSKNXattrNoCompress error:NULL];
-                else
-                    [eam removeExtendedAttributeNamed:OPEN_META_TAGS_KEY 
atPath:[absoluteURL path] traverseLink:YES error:NULL];
-                
-                if ([self rating] > 0.0)
-                    [eam setExtendedAttributeNamed:OPEN_META_RATING_KEY 
toPropertyListValue:[NSNumber numberWithDouble:[self rating]] 
atPath:[absoluteURL path] options:kSKNXattrNoCompress error:NULL];
-                else
-                    [eam removeExtendedAttributeNamed:OPEN_META_RATING_KEY 
atPath:[absoluteURL path] traverseLink:YES error:NULL];
-            }
-            
             if (success)
                 [[NSDistributedNotificationCenter defaultCenter]
                     postNotificationName:SKSkimFileDidSaveNotification 
object:[absoluteURL path]];

Modified: trunk/Skim.sdef
===================================================================
--- trunk/Skim.sdef     2009-02-12 14:15:14 UTC (rev 5210)
+++ trunk/Skim.sdef     2009-02-13 20:21:06 UTC (rev 5211)
@@ -930,12 +930,12 @@
                 description="Whether the document allows copying.">
                 <cocoa key="AllowsCopying"/>
             </property>
-            <property name="tags" code="Tags"
+            <property name="tags" code="Tags" access="r"
                 description="Open Meta tags.">
                 <cocoa key="Tags"/>
                 <type type="text" list="yes"/>
             </property>
-            <property name="rating" code="Rate" type="real"
+            <property name="rating" code="Rate" type="real" access="r"
                 description="Open Meta rating.">
                 <cocoa key="Rating"/>
             </property>


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to