Revision: 5523
http://skim-app.svn.sourceforge.net/skim-app/?rev=5523&view=rev
Author: hofman
Date: 2009-08-08 12:59:10 +0000 (Sat, 08 Aug 2009)
Log Message:
-----------
disable presentation options sheet action when there's only one page
Modified Paths:
--------------
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2009-08-08 11:34:31 UTC (rev 5522)
+++ trunk/SKMainWindowController_UI.m 2009-08-08 12:59:10 UTC (rev 5523)
@@ -1468,6 +1468,8 @@
else
[menuItem setTitle:NSLocalizedString(@"Use Current View Settings
as Default", @"Menu item title")];
return [self isPresentation] == NO;
+ } else if (action == @selector(chooseTransition:)) {
+ return [[self pdfDocument] pageCount] > 1;
} else if (action == @selector(toggleCaseInsensitiveSearch:)) {
[menuItem setState:mwcFlags.caseInsensitiveSearch ? NSOnState :
NSOffState];
return YES;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit