Re: gnome-ftp library



"Fox, Kevin M" <KMFox@mail.bhi-erc.com> writes:

> Each user might have different proxy settings (Passwords for example)

Oh, yes - I was not aware of this.

In this case I think storing them in ~/.gnome is the best way. Other
apps like gnomecal also store their data there (like the users's
calendar).

> 
> > -----Original Message-----
> > From:	Martin Baulig [SMTP:martin@home-of-linux.org]
> > Sent:	Tuesday, February 23, 1999 10:02 AM
> > To:	Brian Masney
> > Subject:	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
> > 
> > 
> > -- 
> >         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> >          To unsubscribe: mail gnome-list-request@gnome.org with 
> >                        "unsubscribe" as the Subject.
> 

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