Remove setAction for _popUpItemAction: from insertItem:atIndex:

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36017 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2013-01-25 00:47:51 +00:00
parent 28a4847640
commit 33e922382b
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2013-01-24 19:45-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSPopUpButtonCell.m: remove _popUpItemAction: from
-insertItemWithTitle:atIndex:.
2013-01-19 Fred Kiefer <FredKiefer@gmx.de> 2013-01-19 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSTextContainer.h, * Headers/AppKit/NSTextContainer.h,
@ -9,6 +14,7 @@
* Header/AppKit/NSLayoutManager.h, * Header/AppKit/NSLayoutManager.h,
* Source/NSLayoutManager.m: Add one 10.5 method. * Source/NSLayoutManager.m: Add one 10.5 method.
>>>>>>> .r36016
2013-01-13 Wolfgang Lux <wolfgang.lux@gmail.com> 2013-01-13 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac: * configure.ac:

View file

@ -426,8 +426,8 @@ static NSImage *_pbc_image[5];
//[anItem setAction: [self action]]; //[anItem setAction: [self action]];
//[anItem setTarget: [self target]]; //[anItem setTarget: [self target]];
// Or // Or
[anItem setAction: @selector(_popUpItemAction:)]; //[anItem setAction: @selector(_popUpItemAction:)];
[anItem setTarget: self]; //[anItem setTarget: self];
// Select the new item if there isn't any selection. // Select the new item if there isn't any selection.
if (_selectedItem == nil) if (_selectedItem == nil)