Re: GtkFileChooser API work
- From: Luis Villa <louie ximian com>
- To: GNOME Desktop List <desktop-devel-list gnome org>
- Subject: Re: GtkFileChooser API work
- Date: Wed, 03 Sep 2003 15:18:13 -0400
On Wed, 2003-09-03 at 15:04, Luis Villa wrote:
> [1] nasty word, I know, come take my pants away.[2]
>
> [2] Please, they smell. [3]
>
> [3] Ever since Jeff gave them to me.
I have been informed that footnotes are now passe and haiku is in. So,
by special request:
loving enterprise
corduroy honored brown stale
the pants will be passed
Luis 'zen master' Villa
> > On Wed, 2003-09-03 at 10:36, Brian Cameron wrote:
> > > One thing that I think would be useful would be to allow the
> > > programatic specification of which directories can be accessed
> > > via the GtkFileChooser dialog.
> > >
> > > I was working on a program that was intended to be run as root
> > > and for safety purposes, we wanted to restrict the dialog to only
> > > allow users to save files to particular directories. This was
> > > to prevent accidental overwrite of any important files, etc. In
> > > the custom filechooser that I implemented, the "OK" button was
> > > grayed out if the user navigated to a directory that wasn't in
> > > the list of acceptable directories. This could probably be
> > > handled more elegantly, though.
> > >
> > > Since the default GtkFileChooser didn't allow a list of acceptable
> > > directories to be specified, I had to implement my own custom file
> > > chooser. It seems like this sort of feature would be generally
> > > useful for programs that want to restrict the loading/saving of
> > > files to/from particular directories (such as a MyDocuments
> > > directory), or for selection of files that are always in the
> > > same locations - such as those system files which are found
> > > in /usr, /etc, or in the user's home directory.
> > >
> > > Brian
> > >
> > > _______________________________________________
> > > desktop-devel-list mailing list
> > > desktop-devel-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/desktop-devel-list
>
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]