Revision: 12232
http://sourceforge.net/p/skim-app/code/12232
Author: hofman
Date: 2021-04-01 09:24:54 +0000 (Thu, 01 Apr 2021)
Log Message:
-----------
Use icon for PDF type rather than legacy document icon for toolbar item
Modified Paths:
--------------
trunk/SKNotesDocument.m
Modified: trunk/SKNotesDocument.m
===================================================================
--- trunk/SKNotesDocument.m 2021-03-30 16:32:22 UTC (rev 12231)
+++ trunk/SKNotesDocument.m 2021-04-01 09:24:54 UTC (rev 12232)
@@ -925,7 +925,7 @@
item = [[SKToolbarItem alloc]
initWithItemIdentifier:SKNotesDocumentOpenPDFToolbarItemIdentifier];
[item setLabels:NSLocalizedString(@"Open PDF", @"Toolbar item label")];
[item setToolTip:NSLocalizedString(@"Open Associated PDF File", @"Tool tip
message")];
- [item setImageNamed:@"PDFDocument"];
+ [item setImage:[[NSWorkspace sharedWorkspace]
iconForFileType:SKPDFDocumentType]];
[item setTarget:self];
[item setAction:@selector(openPDF:)];
[dict setObject:item forKey:SKNotesDocumentOpenPDFToolbarItemIdentifier];
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