Revision: 2541
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2541&view=rev
Author:   hofman
Date:     2007-07-22 05:15:02 -0700 (Sun, 22 Jul 2007)

Log Message:
-----------
Validate Physical Size menu item.

Modified Paths:
--------------
    trunk/SKMainWindowController.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2007-07-22 12:05:03 UTC (rev 2540)
+++ trunk/SKMainWindowController.m      2007-07-22 12:15:02 UTC (rev 2541)
@@ -4241,6 +4241,8 @@
         return [self isPresentation] == NO && [pdfView canZoomOut];
     } else if (action == @selector(doZoomToActualSize:)) {
         return fabs([pdfView scaleFactor] - 1.0 ) > 0.01;
+    } else if (action == @selector(doZoomToPhysicalSize:)) {
+        return [self isPresentation] == NO;
     } else if (action == @selector(doZoomToSelection:)) {
         return [self isPresentation] == NO && NSIsEmptyRect([pdfView 
currentSelectionRect]) == NO;
     } else if (action == @selector(doZoomToFit:)) {


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
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to