I never got a reply on this mail. I will now undo this dubious change. If it was really required for the WinUX theme I hope that somebody will add a corresponding change into that theme. I really would have preferred to have some discussion on this subject.
Fred Am 12.09.2010 20:49, schrieb Fred Kiefer: > Am 31.08.2010 01:02, schrieb Doug Simons: >> Author: dpsimons >> Date: Tue Aug 31 01:02:21 2010 >> New Revision: 31213 >> >> URL: http://svn.gna.org/viewcvs/gnustep?rev=31213&view=rev >> Log: >> fix problem of pulldown action not being called for correct cell, and being >> called twice on Windows >> >> Modified: >> libs/gui/trunk/ChangeLog >> libs/gui/trunk/Source/NSMenuView.m >> libs/gui/trunk/Source/NSPopUpButtonCell.m > > Hi Doug, > > could you please explain the first part of this change? The code itself > looks to me horribly wrong but I am sure you had good reasons for it. > The change note says it was needed for Windows, but I cannot find any > special handling for this case in our Windows backend. This leads me to > the assumption that you needed this change to get the WinUX theme > working. If this is correct, wouldn't it be better to fix the theme > instead? Currently we have the basic idea that themes don't change any > behaviour they only result in a different appearance. If this isn't true > for the WinUX theme, and there may be good reasons for that, eg for a > better Windows integration, it is the obligation of the theme to keep > the results at least consistent. > Most likely the processCommand: method of that theme will need some > tweaking to work correctly in your case. > Could you please look into this and undo the change on gui? > > Fred _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev