Revision: 11499
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11499&view=rev
Author:   hofman
Date:     2007-11-09 06:25:54 -0800 (Fri, 09 Nov 2007)

Log Message:
-----------
Return value.

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

Modified: trunk/bibdesk/BDSKSearchBookmarkController.m
===================================================================
--- trunk/bibdesk/BDSKSearchBookmarkController.m        2007-11-09 14:11:25 UTC 
(rev 11498)
+++ trunk/bibdesk/BDSKSearchBookmarkController.m        2007-11-09 14:25:54 UTC 
(rev 11499)
@@ -286,13 +286,12 @@
 
 - (id)outlineView:(NSOutlineView *)ov objectValueForTableColumn:(NSTableColumn 
*)tableColumn byItem:(id)item {
     NSString *tcID = [tableColumn identifier];
-    NSDictionary *info = [item info];
     if ([tcID isEqualToString:@"label"]) {
         return [NSDictionary dictionaryWithObjectsAndKeys:[item label], 
OATextWithIconCellStringKey, [item icon], OATextWithIconCellImageKey, nil];
     } else if ([tcID isEqualToString:@"server"]) {
-        [info valueForKey:@"name"];
+        return [[item info] valueForKey:@"name"];
     } else if ([tcID isEqualToString:@"search term"]) {
-        [info valueForKey:@"search term"];
+        return [[item info] valueForKey:@"search term"];
     }
     return nil;
 }


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