Revision: 2839
http://skim-app.svn.sourceforge.net/skim-app/?rev=2839&view=rev
Author: hofman
Date: 2007-09-05 13:09:35 -0700 (Wed, 05 Sep 2007)
Log Message:
-----------
Redisplay the find table header when we change the header text.
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2007-09-05 18:51:35 UTC (rev 2838)
+++ trunk/SKMainWindowController.m 2007-09-05 20:09:35 UTC (rev 2839)
@@ -2365,6 +2365,7 @@
if (findPanelFind == NO) {
[findArrayController removeObjects:searchResults];
[[[[findTableView tableColumns] objectAtIndex:1] headerCell]
setStringValue:[NSLocalizedString(@"Searching", @"Message in search table
header") stringByAppendingEllipsis]];
+ [[findTableView headerView] setNeedsDisplay:YES];
[statusBar setProgressIndicatorStyle:SKProgressIndicatorBarStyle];
[[statusBar progressIndicator] setMaxValue:[[note object] pageCount]];
[[statusBar progressIndicator] setDoubleValue:0.0];
@@ -2377,6 +2378,7 @@
[self willChangeValueForKey:@"searchResults"];
[self didChangeValueForKey:@"searchResults"];
[[[[findTableView tableColumns] objectAtIndex:1] headerCell]
setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%i Results",
@"Message in search table header"), [searchResults count]]];
+ [[findTableView headerView] setNeedsDisplay:YES];
[statusBar stopAnimation:self];
[statusBar setProgressIndicatorStyle:SKProgressIndicatorNone];
}
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit