CVS Commit: vlc

Gildas Bazin gbazin at netcourrier.com
Sat May 4 16:38:28 CEST 2002


On Friday 03 May 2002 22:49, cvs at videolan.org wrote:
> Update of /var/cvs/videolan/vlc/include
> Modified Files:
> 	common.h configuration.h modules_inner.h 
> 
> Update of /var/cvs/videolan/vlc/src/misc
> Modified Files:
> 	configuration.c modules_plugin.h 
> 
> Log Message:
>   * ./include/modules_inner.h, ./src/misc/configuration.c: support for 
config
>     options callbacks.
> 
>     They don't take any argument for the moment, but this will change when
>     I'm finished with my other vlc changes. There is a little problem: the
>     Gtk+ interface keeps calling Put***Variable each time we click on 
"Apply"
>     or "Save". I think it should only call it once. Is there a way to fix
>     this? Gildas? lool? :-)
> 

Yes there is.
Currently, we store a hash list of all the configuration options that the 
user has touched (I don't mean "changed" here, because we don't check if 
the new value is the same has the old one. We just detect that the user is 
trying to modify a value). What we forget to do right now is to reset this 
hash table when the user clicks on Apply :p

I'll fix that.

--
Gildas

-- 
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