Re: gnome-ftp library



Brian Masney <masneyb@ns.newwave.net> writes:

> I have been this morning working on some code for the gnome-ftp library. I
> am keeping the function call names close to those of gnome-http library
> where it is appropriate. The one question I have is about FTP proxy server
> support. Like someone mentioned, it would make sense to store these
> settings in a global file where all applications can use them. It would
> also make sense to have a function in the library to automatically read
> the values and set up the proxy settings. Well my questions is where
> should I store these settings at?

Well, if all applications go through this gnome-ftp library to make their
proxy call I think it would make sense to have the gnome-ftp library use
the ordinary gnome-config mechanism for this.

The question here is IMHO whether these settings are subject to change after
the gnome-ftp library has been installed. A configuration file that will
never change (or that contains default values to be used when no others
are set) can be kept in $(prefix)/share/<appname>, but if they can be changed
by the user, this should probably be done with gnome_config_() so it will
be placed in ~/.gnome.

Don't know - how does gnome-httpd do this ?

-- 
Martin Baulig - martin@home-of-linux.org - http://www.home-of-linux.org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]