Revision: 2554 http://skim-app.svn.sourceforge.net/skim-app/?rev=2554&view=rev Author: hofman Date: 2007-07-25 06:16:51 -0700 (Wed, 25 Jul 2007)
Log Message: ----------- Change shortcut to get pages in presentation mode to 'p'. Add shortcut 'a' to toggle Auto/Actual size. Modified Paths: -------------- trunk/SKPDFView.m trunk/SKSideWindow.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2007-07-25 12:21:20 UTC (rev 2553) +++ trunk/SKPDFView.m 2007-07-25 13:16:51 UTC (rev 2554) @@ -841,8 +841,10 @@ [self goToNextPage:self]; } else if (isPresentation && (eventChar == NSLeftArrowFunctionKey) && (modifiers == 0)) { [self goToPreviousPage:self]; - } else if (isPresentation && (eventChar == 't') && (modifiers == 0)) { + } else if (isPresentation && (eventChar == 'p') && (modifiers == 0)) { [(SKMainWindowController *)[[self window] windowController] toggleLeftSidePane:self]; + } else if (isPresentation && (eventChar == 'a') && (modifiers == 0)) { + [(SKMainWindowController *)[[self window] windowController] toggleAutoActualSize:self]; } else if ((eventChar == NSDeleteCharacter || eventChar == NSDeleteFunctionKey) && (modifiers == 0)) { [self delete:self]; } else if (isPresentation == NO && ([self toolMode] == SKTextToolMode || [self toolMode] == SKNoteToolMode) && (eventChar == NSEnterCharacter || eventChar == NSFormFeedCharacter || eventChar == NSNewlineCharacter || eventChar == NSCarriageReturnCharacter) && (modifiers == 0)) { Modified: trunk/SKSideWindow.m =================================================================== --- trunk/SKSideWindow.m 2007-07-25 12:21:20 UTC (rev 2553) +++ trunk/SKSideWindow.m 2007-07-25 13:16:51 UTC (rev 2554) @@ -178,7 +178,7 @@ if (ch == 0x1B && modifierFlags == 0) { [controller exitFullScreen:self]; - } else if (ch == 't' && modifierFlags == 0 && [controller isPresentation]) { + } else if (ch == 'p' && modifierFlags == 0 && [controller isPresentation]) { [controller toggleLeftSidePane:self]; } else { [super keyDown:theEvent]; 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit