From: <ho...@us...> - 2007-08-31 09:55:15
|
Revision: 2791 http://skim-app.svn.sourceforge.net/skim-app/?rev=2791&view=rev Author: hofman Date: 2007-08-31 02:55:11 -0700 (Fri, 31 Aug 2007) Log Message: ----------- Add a link to the Wiki in the help menu. Modified Paths: -------------- trunk/Dutch.lproj/MainMenu.nib/classes.nib trunk/Dutch.lproj/MainMenu.nib/keyedobjects.nib trunk/English.lproj/MainMenu.nib/classes.nib trunk/English.lproj/MainMenu.nib/keyedobjects.nib trunk/French.lproj/MainMenu.nib/classes.nib trunk/French.lproj/MainMenu.nib/keyedobjects.nib trunk/Italian.lproj/MainMenu.nib/classes.nib trunk/Italian.lproj/MainMenu.nib/keyedobjects.nib trunk/SKApplicationController.h trunk/SKApplicationController.m Modified: trunk/Dutch.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/Dutch.lproj/MainMenu.nib/classes.nib 2007-08-30 23:39:19 UTC (rev 2790) +++ trunk/Dutch.lproj/MainMenu.nib/classes.nib 2007-08-31 09:55:11 UTC (rev 2791) @@ -66,14 +66,17 @@ LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + {CLASS = NSView; LANGUAGE = ObjC; SUPERCLASS = NSResponder; }, { ACTIONS = { editBookmarks = id; openBookmark = id; + saveCurrentOpenDocuments = id; showDownloads = id; showPreferencePanel = id; showReleaseNotes = id; visitWebSite = id; + visitWiki = id; }; CLASS = SKApplicationController; LANGUAGE = ObjC; @@ -85,8 +88,13 @@ SUPERCLASS = NSDocumentController; }, {CLASS = SKSplashContentView; LANGUAGE = ObjC; SUPERCLASS = NSView; }, - {CLASS = SKSplashWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; }, { + ACTIONS = {fadeOut = id; }; + CLASS = SKSplashWindow; + LANGUAGE = ObjC; + SUPERCLASS = NSWindow; + }, + { ACTIONS = {checkForUpdates = id; }; CLASS = SUUpdater; LANGUAGE = ObjC; Modified: trunk/Dutch.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/English.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/English.lproj/MainMenu.nib/classes.nib 2007-08-30 23:39:19 UTC (rev 2790) +++ trunk/English.lproj/MainMenu.nib/classes.nib 2007-08-31 09:55:11 UTC (rev 2791) @@ -66,14 +66,17 @@ LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + {CLASS = NSView; LANGUAGE = ObjC; SUPERCLASS = NSResponder; }, { ACTIONS = { editBookmarks = id; openBookmark = id; + saveCurrentOpenDocuments = id; showDownloads = id; showPreferencePanel = id; showReleaseNotes = id; visitWebSite = id; + visitWiki = id; }; CLASS = SKApplicationController; LANGUAGE = ObjC; @@ -85,8 +88,13 @@ SUPERCLASS = NSDocumentController; }, {CLASS = SKSplashContentView; LANGUAGE = ObjC; SUPERCLASS = NSView; }, - {CLASS = SKSplashWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; }, { + ACTIONS = {fadeOut = id; }; + CLASS = SKSplashWindow; + LANGUAGE = ObjC; + SUPERCLASS = NSWindow; + }, + { ACTIONS = {checkForUpdates = id; }; CLASS = SUUpdater; LANGUAGE = ObjC; Modified: trunk/English.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/French.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/French.lproj/MainMenu.nib/classes.nib 2007-08-30 23:39:19 UTC (rev 2790) +++ trunk/French.lproj/MainMenu.nib/classes.nib 2007-08-31 09:55:11 UTC (rev 2791) @@ -66,14 +66,17 @@ LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + {CLASS = NSView; LANGUAGE = ObjC; SUPERCLASS = NSResponder; }, { ACTIONS = { editBookmarks = id; openBookmark = id; + saveCurrentOpenDocuments = id; showDownloads = id; showPreferencePanel = id; showReleaseNotes = id; visitWebSite = id; + visitWiki = id; }; CLASS = SKApplicationController; LANGUAGE = ObjC; @@ -85,8 +88,13 @@ SUPERCLASS = NSDocumentController; }, {CLASS = SKSplashContentView; LANGUAGE = ObjC; SUPERCLASS = NSView; }, - {CLASS = SKSplashWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; }, { + ACTIONS = {fadeOut = id; }; + CLASS = SKSplashWindow; + LANGUAGE = ObjC; + SUPERCLASS = NSWindow; + }, + { ACTIONS = {checkForUpdates = id; }; CLASS = SUUpdater; LANGUAGE = ObjC; Modified: trunk/French.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/Italian.lproj/MainMenu.nib/classes.nib 2007-08-30 23:39:19 UTC (rev 2790) +++ trunk/Italian.lproj/MainMenu.nib/classes.nib 2007-08-31 09:55:11 UTC (rev 2791) @@ -64,14 +64,17 @@ LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + {CLASS = NSView; LANGUAGE = ObjC; SUPERCLASS = NSResponder; }, { ACTIONS = { editBookmarks = id; openBookmark = id; + saveCurrentOpenDocuments = id; showDownloads = id; showPreferencePanel = id; showReleaseNotes = id; visitWebSite = id; + visitWiki = id; }; CLASS = SKApplicationController; LANGUAGE = ObjC; @@ -83,8 +86,13 @@ SUPERCLASS = NSDocumentController; }, {CLASS = SKSplashContentView; LANGUAGE = ObjC; SUPERCLASS = NSView; }, - {CLASS = SKSplashWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; }, { + ACTIONS = {fadeOut = id; }; + CLASS = SKSplashWindow; + LANGUAGE = ObjC; + SUPERCLASS = NSWindow; + }, + { ACTIONS = {checkForUpdates = id; }; CLASS = SUUpdater; LANGUAGE = ObjC; Modified: trunk/Italian.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/SKApplicationController.h =================================================================== --- trunk/SKApplicationController.h 2007-08-30 23:39:19 UTC (rev 2790) +++ trunk/SKApplicationController.h 2007-08-31 09:55:11 UTC (rev 2791) @@ -48,6 +48,7 @@ + (void)setupDefaults; - (IBAction)visitWebSite:(id)sender; +- (IBAction)visitWiki:(id)sender; - (IBAction)showPreferencePanel:(id)sender; - (IBAction)showReleaseNotes:(id)sender; Modified: trunk/SKApplicationController.m =================================================================== --- trunk/SKApplicationController.m 2007-08-30 23:39:19 UTC (rev 2790) +++ trunk/SKApplicationController.m 2007-08-31 09:55:11 UTC (rev 2791) @@ -58,6 +58,8 @@ #import "Files_SKExtensions.h" #import "NSGeometry_SKExtensions.h" +#define WEBSITE_URL @"@"http://skim-app.sourceforge.net/" +#define WIKI_URL @"@"http://skim-app.sourceforge.net/wiki/" @implementation SKApplicationController @@ -204,10 +206,15 @@ #pragma mark Actions - (IBAction)visitWebSite:(id)sender{ - if([[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://skim-app.sourceforge.net/"]] == NO) + if([[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:WEBSITE_URL]] == NO) NSBeep(); } +- (IBAction)visitWiki:(id)sender{ + if([[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:WIKI_URL]] == NO) + NSBeep(); +} + - (IBAction)showPreferencePanel:(id)sender{ [[SKPreferenceController sharedPrefenceController] showWindow:self]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |