Re: A new signal for the GtkFileChooser interface
- From: Paolo Bacchilega <paolo bacch tin it>
- To: Owen Taylor <otaylor redhat com>
- Cc: Gtk Devel List <gtk-devel-list gnome org>
- Subject: Re: A new signal for the GtkFileChooser interface
- Date: 07 Jan 2004 20:51:25 +0100
Il mer, 2004-01-07 alle 20:23, Owen Taylor ha scritto:
> On Wed, 2004-01-07 at 11:14, Paolo Bacchilega wrote:
> > Il mer, 2004-01-07 alle 16:46, Owen Taylor ha scritto:
> > > On Wed, 2004-01-07 at 09:35, Paolo Bacchilega wrote:
> > > > Hi,
> > > >
> > > > I need a "filename-entry-changed" kind of signal, emitted every time the
> > > > filename entry changes its value, is it possible to add it?
> > >
> > > _Why_ do you need this signal?
> >
> > In the File Roller Add dialog some widgets must be sensitive only if the
> > user specifies a wildcard in the filename entry.
> >
> > For example if the user enters "*.jpg" the "Include subfolders" button
> > is enabled, but if the user enters "foo.jpg" the "Include subfolders"
> > button makes no sense so it must be disabled; the same applies to other
> > options.
>
> Allowing the user to enter wildcards is a bit strange. But in any
> case, the selection-changed signal should do what you want as long
> as the file selector is in save mode. (should as in "is supposed to",
> I don't know if it actually does curently.)
I think that emitting the selection-changed signal when the filename
entry changes is the right thing to do, however it isn't emitted at the
moment.
>
> In open mode, the selection will always correspond to a file in the
> filesystem.
>
> Regards,
> Owen
thank you,
Paolo
>
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
--
Paolo Bacchilega <paolo bacch tin it>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]