gnustep-dev
[Top][All Lists]
Advanced

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

Re: [Gnustep-cvs] r34642 - in /libs/gui/trunk: ChangeLog Source/NSMenu.m


From: Fred Kiefer
Subject: Re: [Gnustep-cvs] r34642 - in /libs/gui/trunk: ChangeLog Source/NSMenu.m
Date: Mon, 20 Feb 2012 23:33:31 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1

On 19.02.2012 19:09, Fred Kiefer wrote:
On 19.02.2012 17:38, Wolfgang Lux wrote:
Hi Fred,

Author: fredkiefer
Date: Thu Jan 26 23:38:50 2012
New Revision: 34642

URL:
http://svn.gna.org/viewcvs/gnustep?rev=34642&view=rev

Log:
* Source/NSMenu.m (-performActionForItemAtIndex:): Check for the
popup button cell and its action, before checking for the item
action. This caused a problem due to NIB decoding changes.

Modified:
libs/gui/trunk/ChangeLog
libs/gui/trunk/Source/NSMenu.m

I don't known what problem you attempted to fix here, but I had to
revert your change as it breaks OS X compatibility (and at least one
of my programs :-). Any action set on a menu item should always get
precedence over the pop up button's action. I also found another issue
that -_popUpItemAction: was using the wrong sender (it was using the
pop up button cell rather than the pop up button itself). Maybe this
already fixes your problem?

At the moment I cannot use the old test code as base now raises an
exception when key decoding an NSAffineTransform. I will try to get this
fixed and report back, whether your change broke these tests.

I think. I got the keyed decoding for NSAffineTransform working. At least the old test code is running again and it seems to work well with your new implementation.



reply via email to

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