Revision: 14708
http://sourceforge.net/p/skim-app/code/14708
Author: hofman
Date: 2024-11-17 16:42:38 +0000 (Sun, 17 Nov 2024)
Log Message:
-----------
validate Get Info menu item
Modified Paths:
--------------
trunk/SKApplicationController.m
Modified: trunk/SKApplicationController.m
===================================================================
--- trunk/SKApplicationController.m 2024-11-17 15:56:34 UTC (rev 14707)
+++ trunk/SKApplicationController.m 2024-11-17 16:42:38 UTC (rev 14708)
@@ -347,6 +347,8 @@
else
[menuItem setTitle:NSLocalizedString(@"Show Note Type", @"Menu
item title")];
return YES;
+ } else if (action == @selector(getInfo:)) {
+ return [[[NSApp mainWindow] windowController] document] != nil;
} else if (action == @selector(changeFindPaneState:)) {
[menuItem setHidden:YES];
return NO;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit