Revision: 6814
http://skim-app.svn.sourceforge.net/skim-app/?rev=6814&view=rev
Author: hofman
Date: 2010-09-17 22:59:16 +0000 (Fri, 17 Sep 2010)
Log Message:
-----------
validate align menu items
Modified Paths:
--------------
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2010-09-17 21:27:58 UTC (rev 6813)
+++ trunk/SKMainWindowController_UI.m 2010-09-17 22:59:16 UTC (rev 6814)
@@ -1347,6 +1347,9 @@
} else if (action == @selector(editNote:)) {
PDFAnnotation *annotation = [pdfView activeAnnotation];
return [self interactionMode] != SKPresentationMode && [annotation
isSkimNote] && ([annotation isEditable]);
+ } else if (action == @selector(alignLeft:) || action ==
@selector(alignRight:) || action == @selector(alignCenter:)) {
+ PDFAnnotation *annotation = [pdfView activeAnnotation];
+ return [self interactionMode] != SKPresentationMode && [annotation
isSkimNote] && ([annotation isEditable]) && [annotation
respondsToSelector:@selector(setAlignment:)];
} else if (action == @selector(toggleHideNotes:)) {
if ([pdfView hideNotes])
[menuItem setTitle:NSLocalizedString(@"Show Notes", @"Menu item
title")];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit