Re: Re[3]: problem with rf

Jens Miltner <[email protected]> Wed, 16 Jun 2004 13:27:39 +0200
Newsgroups gmane.comp.version-control.cvs.gui.devel
Message-ID <[email protected]>
Am 16.06.2004 um 11:03 schrieb Richard Wirth:

> Hello Richard,
>
> Tuesday, June 15, 2004, 10:30:09 PM, you wrote:
>
> RW> Hello Jerzy,
>
> RW> Tuesday, June 15, 2004, 11:05:50 PM, you wrote:
>
> JK>> Richard,
>
>>>> But this results in a new button pressed event for OnViewConflict()
>>>> and all the others, which in turn change the state not being
>>>> "kFilterModified" any more. So we get a perfect recursion!
>
> JK>> Perhaps disabling the other buttons while toggling them would 
> help - the
> JK>> disable state could be used to prevent recursion - the handler 
> can check it
> JK>> and ignore the event...?
>
> RW> The Problem is, the knobs get updated while UpdateUI(), which is 
> long
> RW> time after the initial change to "SeeModified". And the 
> implementation
> RW> only does a toggle regardless of the current internal state.
>
> RW> I think a possible way is not to modify the state of the other 
> filters
> RW> directly, but forcing the buttons to do the state change. But than 
> the
> RW> buttons must know each other...
>
> I suspect this also isn't possible, cause the change of state is done
> inside KoFilterModel, where we have no knowledge about any user
> interface elements.
>
> So we definitively have to extend the handlers for ON_UCOMMAND_xxx()
> to include the state of the button.
>
> What impacts will this have on MacCvs/WinCvs ?????

Hmmh, not sure for MacCvs. Actually only very little of the rf code is 
used in MacCvs, AFAIK. I'm pretty sure the filter buttons are handled 
"natively" (i.e. not through rf), but I have to admit I'm not entirely 
sure :|

>
> One other questioin:
> Does MacCvs get influenced by changes on the autoconf/automake stuff?
> I'd like to change the configure.in to not rely on gnome but only on
> gtk (and if possible enable the use of gtk2).

Is the autoconf/automake stuff shared with the cvsgui tool's setup (in 
the cvs-1.10 subtree)?
The cvsgui tool is the only place where MacCvs would use 
autoconf/automake (unless it's build using the Xcode IDE).

</jum>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/NhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/cvsgui-dev/

<*> To unsubscribe from this group, send an email to:
     [email protected]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/