No, that's why I changed only those, and not the separator chars prefs. The mina reason is because they are hidden, and therefore if the user wants to use them they have to know the key. It's better to have some systematic name scheme for those.
Chriostiaan On 16 May 2007, at 3:59 PM, Adam R. Maxwell wrote: > Were any of these keys that you changed documented in the help book? > If so, they probably shouldn't be changed at this stage. Who cares if > they look the same or not anyway? > > adam > > On May 16, 2007, at 02:53, [EMAIL PROTECTED] wrote: > >> Revision: 10633 >> http://svn.sourceforge.net/bibdesk/?rev=10633&view=rev >> Author: hofman >> Date: 2007-05-16 02:53:09 -0700 (Wed, 16 May 2007) >> >> Log Message: >> ----------- >> Normalize hidden pref keys. >> >> Modified Paths: >> -------------- >> trunk/bibdesk/BDSKController.m >> trunk/bibdesk/BDSKGroupTableView.m >> trunk/bibdesk/BDSKScriptMenu.m >> trunk/bibdesk/BDSKSharingBrowser.m >> trunk/bibdesk/BibDocument.m >> trunk/bibdesk/BibPrefController.m >> >> Modified: trunk/bibdesk/BDSKController.m >> =================================================================== >> --- trunk/bibdesk/BDSKController.m 2007-05-16 09:42:41 UTC (rev >> 10632) >> +++ trunk/bibdesk/BDSKController.m 2007-05-16 09:53:09 UTC (rev >> 10633) >> @@ -63,7 +63,7 @@ >> >> - (BOOL)exceptionHandler:(NSExceptionHandler *)sender >> shouldLogException:(NSException *)exception mask:(unsigned int)aMask; >> { >> - if (([sender exceptionHandlingMask] & aMask) == 0 || >> [[NSUserDefaults standardUserDefaults] >> boolForKey:@"BDSKDisableExceptionHandlingKey"]) >> + if (([sender exceptionHandlingMask] & aMask) == 0 || >> [[NSUserDefaults standardUserDefaults] >> boolForKey:@"BDSKDisableExceptionHandling"]) >> return NO; >> >> static BOOL handlingException = NO; >> >> Modified: trunk/bibdesk/BDSKGroupTableView.m >> =================================================================== >> --- trunk/bibdesk/BDSKGroupTableView.m 2007-05-16 09:42:41 UTC (rev >> 10632) >> +++ trunk/bibdesk/BDSKGroupTableView.m 2007-05-16 09:53:09 UTC (rev >> 10633) >> @@ -123,7 +123,7 @@ >> unichar c = [[theEvent characters] characterAtIndex:0]; >> unsigned int modifierFlags = ([theEvent modifierFlags] & >> NSDeviceIndependentModifierFlagsMask & ~NSAlphaShiftKeyMask); >> // modified from NSTableView-OAExtensions.h which uses a shared >> typeahead helper instance (which we can't access to force it to >> recache) >> - if (![[NSUserDefaults standardUserDefaults] >> boolForKey:@"DisableTypeAheadSelection"]) { >> + if (![[NSUserDefaults standardUserDefaults] >> boolForKey:@"BDSKDisableTypeAheadSelection"]) { >> >> // @@ this is a hack; recaching in -reloadData doesn't work >> for us the first time around, but we don't want to recache on every >> keystroke >> if([[typeSelectHelper valueForKey:@"searchCache"] count] >> == 0) >> @@ -302,7 +302,7 @@ >> >> - (NSColor *)backgroundColor { >> >> - if ([[NSUserDefaults standardUserDefaults] >> boolForKey:@"BDSKDisableBackgroundColorForGroupTableKey"]) >> + if ([[NSUserDefaults standardUserDefaults] >> boolForKey:@"BDSKDisableBackgroundColorForGroupTable"]) >> return [super backgroundColor]; >> >> static NSColor *backgroundColor = nil; >> >> Modified: trunk/bibdesk/BDSKScriptMenu.m >> =================================================================== >> --- trunk/bibdesk/BDSKScriptMenu.m 2007-05-16 09:42:41 UTC (rev >> 10632) >> +++ trunk/bibdesk/BDSKScriptMenu.m 2007-05-16 09:53:09 UTC (rev >> 10633) >> @@ -91,7 +91,7 @@ >> + (BOOL)disabled; >> { >> // Omni disables their script menu on 10.4, saying the system >> one is better... >> - return [[NSUserDefaults standardUserDefaults] >> boolForKey:@"OAScriptMenuDisabled"]; >> + return [[NSUserDefaults standardUserDefaults] >> boolForKey:@"BDSKScriptMenuDisabled"]; >> } >> >> @end >> >> Modified: trunk/bibdesk/BDSKSharingBrowser.m >> =================================================================== >> --- trunk/bibdesk/BDSKSharingBrowser.m 2007-05-16 09:42:41 UTC (rev >> 10632) >> +++ trunk/bibdesk/BDSKSharingBrowser.m 2007-05-16 09:53:09 UTC (rev >> 10633) >> @@ -120,7 +120,7 @@ >> - (void)netServiceBrowser:(NSNetServiceBrowser *)aNetServiceBrowser >> didFindService:(NSNetService *)aNetService moreComing:(BOOL) >> moreComing >> { >> // In general, we want to ignore our own shared services, >> although this doesn't cause problems with the run loop anymore >> (since the DO servers have their own threads) Since >> SystemConfiguration guarantees that we have a unique computer name, >> this should be safe. >> - if([[BDSKSharingServer sharingName] isEqualToString: >> [aNetService name]] == YES && [[NSUserDefaults standardUserDefaults] >> boolForKey:@"BDSKEnableSharingWithSelfKey"] == NO) >> + if([[BDSKSharingServer sharingName] isEqualToString: >> [aNetService name]] == YES && [[NSUserDefaults standardUserDefaults] >> boolForKey:@"BDSKEnableSharingWithSelf"] == NO) >> return; >> >> // set as delegate and resolve, so we can find out if this >> originated from the localhost or a remote machine >> >> Modified: trunk/bibdesk/BibDocument.m >> =================================================================== >> --- trunk/bibdesk/BibDocument.m 2007-05-16 09:42:41 UTC (rev 10632) >> +++ trunk/bibdesk/BibDocument.m 2007-05-16 09:53:09 UTC (rev 10633) >> @@ -1298,7 +1298,7 @@ >> NSMutableDictionary *mutableAttributes = [NSMutableDictionary >> dictionaryWithDictionary:docAttributes]; >> >> // create some useful metadata, with an option to disable for >> the paranoid >> - if([[NSUserDefaults standardUserDefaults] >> boolForKey:@"BDSKDisableExportAttributesKey"]){ >> + if([[NSUserDefaults standardUserDefaults] >> boolForKey:@"BDSKDisableExportAttributes"]){ >> [mutableAttributes addEntriesFromDictionary:[NSDictionary >> dictionaryWithObjectsAndKeys:NSFullUserName(), >> NSAuthorDocumentAttribute, [NSDate date], >> NSCreationTimeDocumentAttribute, [NSLocalizedString(@"BibDesk export >> of ", @"Error description") stringByAppendingString:[[self fileURL] >> lastPathComponent]], NSTitleDocumentAttribute, nil]]; >> } >> >> >> Modified: trunk/bibdesk/BibPrefController.m >> =================================================================== >> --- trunk/bibdesk/BibPrefController.m 2007-05-16 09:42:41 UTC (rev >> 10632) >> +++ trunk/bibdesk/BibPrefController.m 2007-05-16 09:53:09 UTC (rev >> 10633) >> @@ -344,18 +344,18 @@ >> >> BDSKRemoveExtendedAttributesFromDocuments bool false >> BDSKDisableDocumentExtendedAttributes bool false >> - BDSKDisableExportAttributesKey bool false >> + BDSKDisableExportAttributes bool false >> BDSKFieldsToWriteIfEmpty array () >> BDSKShouldUseSpotlightCommentForURL bool false >> - BDSKEnableSharingWithSelfKey bool false // >> developers only >> + BDSKEnableSharingWithSelf bool false // >> developers only >> BDSKDisableRemoteChangeNotifications bool false >> BDSKSharingServerMaxConnections integer 0 // >> ignored if < 20 >> - BDSKDisableExceptionHandlingKey bool false // >> developers only >> + BDSKDisableExceptionHandling bool false // >> developers only >> BDSKShouldLogFilesAddedToMatchingSearchIndex bool false // >> developers only >> BDSKUseXMLSpotlightCache bool false // >> developers only >> - DisableTypeAheadSelection bool false >> - BDSKDisableBackgroundColorForGroupTableKey bool false >> - OAScriptMenuDisabled bool false >> + BDSKDisableTypeAheadSelection bool false >> + BDSKDisableBackgroundColorForGroupTable bool false >> + BDSKScriptMenuDisabled bool false >> BDSKAnnoteFieldName string nil >> BDSKDefaultAnimationTimeInterval float 0.15 // >> set to zero to disable >> BDSKTableHeaderImages dict nil >> >> >> This was sent by the SourceForge.net collaborative development >> platform, the world's largest Open Source development site. >> >> --------------------------------------------------------------------- >> ---- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Bibdesk-commit mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/bibdesk-commit > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Bibdesk-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bibdesk-develop ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bibdesk-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-develop
