Revision: 3388
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3388&view=rev
Author:   hofman
Date:     2008-02-11 10:23:27 -0800 (Mon, 11 Feb 2008)

Log Message:
-----------
Disable standard tooltips for note and link annotations on Leopard, because we 
show our own tool tips.

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

Modified: trunk/SKPDFAnnotationNote.m
===================================================================
--- trunk/SKPDFAnnotationNote.m 2008-02-06 18:15:47 UTC (rev 3387)
+++ trunk/SKPDFAnnotationNote.m 2008-02-11 18:23:27 UTC (rev 3388)
@@ -1517,6 +1517,10 @@
     rowHeight = newRowHeight;
 }
 
+// override these Leopard methods to avoid showing the standard tool tips over 
our own
+- (NSString *)toolTip { return nil; }
+- (NSString *)toolTipNoLabel { return nil; }
+
 #pragma mark Scripting support
 
 - (NSDictionary *)scriptingProperties {
@@ -1935,3 +1939,16 @@
 }
 
 @end
+
+#pragma mark -
+
[EMAIL PROTECTED] PDFAnnotationLine (SKExtensions)
[EMAIL PROTECTED]
+
[EMAIL PROTECTED] PDFAnnotationLine (SKExtensions)
+
+// override these Leopard methods to avoid showing the standard tool tips over 
our own
+- (NSString *)toolTip { return nil; }
+- (NSString *)toolTipNoLabel { return nil; }
+
[EMAIL PROTECTED]


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to