Revision: 10963
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=10963&view=rev
Author:   hofman
Date:     2007-08-21 07:22:54 -0700 (Tue, 21 Aug 2007)

Log Message:
-----------
Use separate status message when type select updates for group table.

Modified Paths:
--------------
    trunk/bibdesk/BibDocument_DataSource.m

Modified: trunk/bibdesk/BibDocument_DataSource.m
===================================================================
--- trunk/bibdesk/BibDocument_DataSource.m      2007-08-21 12:10:14 UTC (rev 
10962)
+++ trunk/bibdesk/BibDocument_DataSource.m      2007-08-21 14:22:54 UTC (rev 
10963)
@@ -1103,8 +1103,10 @@
 - (void)typeSelectHelper:(BDSKTypeSelectHelper *)typeSelectHelper 
updateSearchString:(NSString *)searchString{
     if(searchString == nil || sortKey == nil)
         [self updateStatus]; // resets the status line to its default value
-    else
+    else if(typeSelectHelper == [tableView typeSelectHelper]) 
         [self setStatus:[NSString stringWithFormat:NSLocalizedString(@"Finding 
item with %@: \"[EMAIL PROTECTED]"", @"Status message:Finding item with 
[sorting field]: \"[search string]\""), [sortKey localizedFieldName], 
searchString]];
+    else if(typeSelectHelper == [groupTableView typeSelectHelper]) 
+        [self setStatus:[NSString stringWithFormat:NSLocalizedString(@"Finding 
group: \"[EMAIL PROTECTED]"", @"Status message:Finding group: \"[search 
string]\""), searchString]];
 }
 
 // This is where we build the list of possible items which the user can select 
by typing the first few letters. You should return an array of NSStrings.


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/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to