Re: A new signal for the GtkFileChooser interface



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]