Revision: 18216
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18216&view=rev
Author: hofman
Date: 2011-11-14 10:46:08 +0000 (Mon, 14 Nov 2011)
Log Message:
-----------
use new OpenMeta location for tags and ratings, why did they have to change
this?
Modified Paths:
--------------
trunk/bibdesk/NSFileManager_BDSKExtensions.m
Modified: trunk/bibdesk/NSFileManager_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSFileManager_BDSKExtensions.m 2011-11-14 07:35:10 UTC
(rev 18215)
+++ trunk/bibdesk/NSFileManager_BDSKExtensions.m 2011-11-14 10:46:08 UTC
(rev 18216)
@@ -78,8 +78,8 @@
#import <SkimNotesBase/SkimNotesBase.h>
#import <CoreServices/CoreServices.h>
-#define OPEN_META_TAGS_KEY @"com.apple.metadata:kOMUserTags"
-#define OPEN_META_RATING_KEY @"com.apple.metadata:kOMStarRating"
+#define OPEN_META_TAGS_KEY @"com.apple.metadata:kMDItemOMUserTags"
+#define OPEN_META_RATING_KEY @"com.apple.metadata:kMDItemStarRating"
/*
The WLDragMapHeaderStruct stuff was borrowed from CocoaTech Foundation,
http://www.cocoatech.com (BSD licensed). This is used for creating WebLoc
files, which are a resource-only Finder clipping. Apple provides no API for
creating them, so apparently everyone just reverse-engineers the resource file
format and creates them. Since I have no desire to mess with ResEdit anymore,
we're borrowing this code directly and using Omni's resource fork methods to
create the file. Note that you can check the contents of a resource fork in
Terminal with `cat somefile/rsrc`, not that it's incredibly helpful.
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit