Revision: 7055 http://skim-app.svn.sourceforge.net/skim-app/?rev=7055&view=rev Author: hofman Date: 2011-01-07 18:38:38 +0000 (Fri, 07 Jan 2011)
Log Message: ----------- fix menus for toolbar items Modified Paths: -------------- trunk/SKMainToolbarController.m Modified: trunk/SKMainToolbarController.m =================================================================== --- trunk/SKMainToolbarController.m 2011-01-07 16:13:52 UTC (rev 7054) +++ trunk/SKMainToolbarController.m 2011-01-07 18:38:38 UTC (rev 7055) @@ -225,7 +225,8 @@ menu = [NSMenu menu]; [menu addItemWithTitle:NSLocalizedString(@"Previous", @"Menu item title") action:@selector(doGoToPreviousPage:) target:mainController]; - menuItem = [menu addItemWithTitle:NSLocalizedString(@"First", @"Menu item title") action:@selector(doGoToFirstPage:) target:mainController]; + [menu addItemWithTitle:NSLocalizedString(@"First", @"Menu item title") action:@selector(doGoToFirstPage:) target:mainController]; + menuItem = [[[NSMenuItem allocWithZone:[NSMenu menuZone]] initWithTitle:NSLocalizedString(@"Previous", @"Toolbar item label") submenu:menu] autorelease]; [item setLabels:NSLocalizedString(@"Previous", @"Toolbar item label")]; [item setToolTip:NSLocalizedString(@"Go To Previous Page", @"Tool tip message")]; @@ -239,7 +240,7 @@ menu = [NSMenu menu]; [menu addItemWithTitle:NSLocalizedString(@"Next", @"Menu item title") action:@selector(doGoToNextPage:) target:mainController]; [menu addItemWithTitle:NSLocalizedString(@"Last", @"Menu item title") action:@selector(doGoToLastPage:) target:mainController]; - menuItem = [[[NSMenuItem allocWithZone:[NSMenu menuZone]] initWithTitle:NSLocalizedString(@"Page", @"Toolbar item label") submenu:menu] autorelease]; + menuItem = [[[NSMenuItem allocWithZone:[NSMenu menuZone]] initWithTitle:NSLocalizedString(@"Next", @"Toolbar item label") submenu:menu] autorelease]; [item setLabels:NSLocalizedString(@"Next", @"Toolbar item label")]; [item setToolTip:NSLocalizedString(@"Go To Next Page", @"Tool tip message")]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit