CVS Commit: vlc

Samuel Hocevar sam at zoy.org
Sat May 4 16:16:46 CEST 2002


On Fri, May 03, 2002, Loïc Minier wrote:

>   There is probably a way to fix it but was is the best expected
> behaviour ?
> 
>   « Ok » and « Apply » should behave identically hiding or not the
> current window and calling Put*Variable, but should « Save » also apply
> the changes ?
> 
>   Or are you thinking of checking wether or not a variable changed
> before calling a callback ?

   Maybe each configuration window could store a boolean variable
telling whether its status has changed. This variable would be set to
false by default, to true whenever the state of a configuration widget
changes, and back to false whenever "Ok" or "Apply" get pressed. And of
course the config_Put*Variable functions would only be called if this
variable is set to true.

-- 
Sam.

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list