Revision: 2691
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2691&view=rev
Author:   hofman
Date:     2007-08-21 07:33:23 -0700 (Tue, 21 Aug 2007)

Log Message:
-----------
Show status message during type-select.

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2007-08-21 14:20:35 UTC (rev 2690)
+++ trunk/SKMainWindowController.m      2007-08-21 14:33:23 UTC (rev 2691)
@@ -3559,6 +3559,20 @@
     }
 }
 
+- (void)typeSelectHelper:(SKTypeSelectHelper *)typeSelectHelper 
updateSearchString:(NSString *)searchString {
+    if ([typeSelectHelper isEqual:[thumbnailTableView typeSelectHelper]]) {
+        if (searchString)
+            [statusBar setLeftStringValue:[NSString 
stringWithFormat:NSLocalizedString(@"Go to page: %@", @"Status message"), 
searchString]];
+        else
+            [self updateLeftStatus];
+    } else if ([typeSelectHelper isEqual:[noteOutlineView typeSelectHelper]]) {
+        if (searchString)
+            [statusBar setRightStringValue:[NSString 
stringWithFormat:NSLocalizedString(@"Finding note: \"[EMAIL PROTECTED]"", 
@"Status message"), searchString]];
+        else
+            [self updateRightStatus];
+    }
+}
+
 #pragma mark Outline
 
 - (int)outlineRowForPageIndex:(unsigned int)pageIndex {


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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to