bugGNUstep - Bugs: bug #3799, NSOutlineView doesn't call the...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #3799: NSOutlineView doesn't call the delegate method -outlineView:willDisplayOutlineCell:forTableColumn:item:

Submitted by:  -Deleted Account- <yjchen>
Submitted on:  Thu 29 May 2003 04:31:29 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Adam Fedor <fedor>
Open/Closed: Closed

Sat 21 Jun 2003 04:44:16 PM UTC, comment #2:

Added the patch. Thanks.

Adam Fedor <fedor>
Project AdministratorIn charge of this item.
Wed 04 Jun 2003 04:04:21 PM UTC, comment #1:

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;

-Deleted Account- <yjchen>
Thu 29 May 2003 04:31:29 PM UTC, 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.

-Deleted Account- <yjchen>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 21 Jun 2003 04:44:16 PM UTCfedorStatusNone=>(Error - Not Found)
  Assigned toNone=>NA
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1