bugGNUstep - Bugs: bug #10595, NSButtonCell -image returns nil

 
 

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

bug #10595: NSButtonCell -image returns nil

Submitted by:  Benhur Stein <benhur>
Submitted on:  Wed 06 Oct 2004 01:02:52 PM UTC  
 
Category: Gui/AppKitSeverity: 2 - Minor
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Quentin Mathé <qmathe>
Open/Closed: Closed

Sun 07 Nov 2004 09:10:18 PM UTC, comment #1:

Fixed in cvs 2004/11/07 with NSButtonCell.m revision 1.94
The bug was produced by a patch not fully applied when it was committed with the revision 1.90

Quentin Mathé <qmathe>
Project MemberIn charge of this item.
Wed 06 Oct 2004 01:02:52 PM UTC, original submission:

Take a buttonCell that is showing an image (created in Gorm, for example), call setImage: on it with a different image.
The new image is accepted and displayed by the cell.
Call -image, it returns nil.

Problem is that NSButtonCell does not let its type be changed
(setImage: calls setType:, but NSButtonCell's setType: overrides NSCell's to do nothing), and NSCell only
returns the image if the cell is of type NSImageCellType.

Benhur Stein <benhur>

 

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
Sun 07 Nov 2004 09:10:18 PM UTCqmatheStatusNone=>Fixed
  Assigned toNone=>qmathe
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1