Revision: 7531 http://skim-app.svn.sourceforge.net/skim-app/?rev=7531&view=rev Author: hofman Date: 2011-11-04 10:41:23 +0000 (Fri, 04 Nov 2011) Log Message: -----------
Modified Paths: -------------- trunk/SKApplicationController.m Modified: trunk/SKApplicationController.m =================================================================== --- trunk/SKApplicationController.m 2011-11-04 10:40:57 UTC (rev 7530) +++ trunk/SKApplicationController.m 2011-11-04 10:41:23 UTC (rev 7531) @@ -104,10 +104,6 @@ - (void)handleGetURLEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent; @end - -typedef struct _SKTest { SEL selector; } SKTest; -static const SKTest sk_test[]; - @implementation SKApplicationController @dynamic defaultPdfViewSettings, defaultFullScreenPdfViewSettings, backgroundColor, fullScreenBackgroundColor, pageBackgroundColor, defaultNoteColors, defaultLineWidths, defaultLineStyles, defaultDashPatterns, defaultStartLineStyle, defaultEndLineStyle, defaultFontNames, defaultFontSizes, defaultTextNoteFontColor, defaultAlignment, defaultIconType; @@ -139,7 +135,7 @@ [[NSUserDefaultsController sharedUserDefaultsController] setInitialValues:initialValuesDict]; } -- (void)awakeFromNib {sk_test[0].selector = @selector(initialize);NSLog(@"%i",sk_test[0].selector == @selector(initialize)); +- (void)awakeFromNib { [[NSApp mainMenu] localizeStringsFromTable:@"MainMenu"]; NSMenu *viewMenu = [[[NSApp mainMenu] itemAtIndex:VIEW_MENU_INDEX] submenu]; 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 _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit