bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #3799] NSOutlineView doesn't call the delegate method -outlineView:


From: nobody
Subject: [bug #3799] NSOutlineView doesn't call the delegate method -outlineView:willDisplayOutlineCell:forTableColumn:item:
Date: Sat, 21 Jun 2003 12:44:17 -0400
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20020905

=================== BUG #3799: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3799&group_id=99

Changes by: Adam Fedor <fedor@gnu.org>
Date: Sat 06/21/2003 at 10:44 (US/Mountain)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | fedor
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Added the patch. Thanks.



=================== BUG #3799: FULL BUG SNAPSHOT ===================


Submitted by: yjchen                  Project: GNUstep                      
Submitted on: Thu 05/29/2003 at 10:31
Category:  Gui/AppKit                 Severity:  5 - Major                  
Bug Group:  Bug                       Resolution:  Fixed                    
Assigned to:  fedor                   Status:  Closed                       

Summary:  NSOutlineView doesn't call the delegate method 
-outlineView:willDisplayOutlineCell:forTableColumn:item:

Original Submission:  The delegate method 
-outlineView:willDisplayOutlineCell:forTableColumn:item:
is defined in NSOutlineView of both GNUstep and Cocoa.
But by looking at the source code of NSOutlineView,
it is never called.

Follow-up Comments
*******************

-------------------------------------------------------
Date: Sat 06/21/2003 at 10:44       By: fedor
Added the patch. Thanks.

-------------------------------------------------------
Date: Wed 06/04/2003 at 10:04       By: yjchen
Here is the patch.

Yen-Ju

*** NSOutlineView.m.orig        2003-06-04 11:57:15.000000000 -0400
--- NSOutlineView.m     2003-06-04 11:58:39.000000000 -0400
***************
*** 996,1001 ****
--- 996,1009 ----
              imageRect.size.width = [image size].width;
              imageRect.size.height = [image size].height;
  
+               if ([_delegate respondsToSelector: 
@selector(outlineView:willDisplayOutlineCell:forTableColumn:item:)])
+                 { 
+                   [_delegate outlineView: self
+                              willDisplayOutlineCell: imageCell
+                              forTableColumn: tb
+                              item: item];
+                 }   
+ 
              [imageCell drawWithFrame: imageRect inView: self];
  
              drawingRect.origin.x += indentationFactor + [image size].width + 
5;



CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3799&group_id=99

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]