Revision: 12250
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12250&view=rev
Author: amaxwell
Date: 2008-01-03 22:32:47 -0800 (Thu, 03 Jan 2008)
Log Message:
-----------
Use help button for help on alert instead of a standard button.
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2008-01-04 06:31:40 UTC (rev 12249)
+++ trunk/bibdesk/BibDocument.m 2008-01-04 06:32:47 UTC (rev 12250)
@@ -319,13 +319,6 @@
if (NSAlertDefaultReturn == returnCode)
[self migrateFiles:self];
- else if (NSAlertAlternateReturn == returnCode) {
- if (nil == migrationController) {
- migrationController = [[BDSKFileMigrationController alloc] init];
- [self addWindowController:migrationController];
- }
- [migrationController showHelp:nil];
- }
}
- (void)showWindows{
@@ -367,13 +360,15 @@
NSString *verify = NSLocalizedString(@"Verify", @"button title for
migration alert");
BDSKAlert *alert = [BDSKAlert
alertWithMessageText:NSLocalizedString(@"Local File and URL fields have been
automatically converted", @"warning in document")
defaultButton:verify
-
alternateButton:NSLocalizedString(@"More Info", @"help button title in alert")
-
otherButton:NSLocalizedString(@"Later", @"")
+
alternateButton:NSLocalizedString(@"Later", @"")
+ otherButton:nil
informativeTextWithFormat:NSLocalizedString(@"BibDesk now uses a more flexible
storage format for these fields. Choose \"[EMAIL PROTECTED]" to manually
verify the conversion and optionally remove the old fields. Conversion can be
done at any time from the \"[EMAIL PROTECTED]" menu.", @"alert text"), verify,
NSLocalizedString(@"Database", @"Database main menu title")];
// @@ Should we show a check button? If the user saves the doc as-is,
it'll have local-url and bdsk-file fields in it, and there will be no warning
the next time it's opened. Someone who uses a script hook to convert bdsk-file
back to local-url won't want to see it, though.
[alert setHasCheckButton:YES];
[alert setCheckValue:NO];
+ [alert setShowsHelp:YES];
+ [alert setHelpAnchor:@"FileMigration"];
[alert beginSheetModalForWindow:[self windowForSheet]
modalDelegate:self
didEndSelector:@selector(migrationAlertDidEnd:returnCode:contextInfo:)
contextInfo:NULL];
}
}
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit