Gnome preferences window & language selection.

Shane Harper shanegh at optusnet.com.au
Sun Mar 25 15:41:37 CEST 2001


Hi.

I've created a preferences window for the Gnome interface for vlc.

The only option which can be set from this window (at the moment) is the
preferred language for DVD audio. The selected language is saved in the file
~/.vlc/config. (Each time you start vlc to play a DVD it'll automatically
select an audio channel in the language of your choice.)

Someone may like to store the changes I've made in the CVS repository.


Shane.




Brief summary of changes (files are attached to this e-mail):
-------------------------------------------------------------

include/main.h
        added function declarations for accessing configuration file.

include/config.h.in
        added INPUT_LANGUAGE.

plugins/dvd/input_dvd.c
        . Deleted lang_tbl (now defined in plugins/common/languages.c)
        . Finds an audio channel corresponding to language specified by
          INPUT_LANGUAGE.

plugins/gnome/
        intf_gnome.glade
        gnome_callbacks.[ch]
        gnome_interface.[ch]
                (generated by Glade.)
        intf_gnome.c
                make preferences menu item active.

plugins/common/languages.[ch]
        defines lang_tbl.

src/interface/main.c
        Now read configuration file on start-up.

Makefile.in

-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: vlc-changes.tgz





More information about the vlc-devel mailing list