Re: Signals received twice

2010-12-19 Thread Tadej Borovšak
Hello.


 I'm using GtkFileChooserButton and connecting to selection-changed signal
 and the issue is that when i changed the selected fodler in the widget, I'm
 getting the signal 4 or 5 times repeatedly.
 And I think that should happens just one, Am I right ?

No, GtkFileChooser::selection-changed signal gets emitted for every
change of selection in file selection dialog. You should probably use
GtkFileChooserButton::file-set signal in your application.

Cheers,
Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Signals received twice

2010-12-19 Thread Erick Pérez Castellanos
I'm using GtkFileChooserButton and connecting to selection-changed 
signal
and the issue is that when i changed the selected fodler in the widget, 
I'm

getting the signal 4 or 5 times repeatedly.
And I think that should happens just one, Am I right ?



No, GtkFileChooser::selection-changed signal gets emitted for every
change of selection in file selection dialog. You should probably use
GtkFileChooserButton::file-set signal in your application.


Yeah, mmm, I tried that one, but when I select one the folders that appears 
on the list, the signal doesn't gets emitted.

BTW, I'm using GtkFIleChooserButton for selecting folders.

Erick 


___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Signals received twice

2010-12-18 Thread Erick Pérez Castellanos

Hi:

I think this is a bug, but I'm asking first to check,
I'm using GtkFileChooserButton and connecting to selection-changed signal 
and the issue is that when i changed the selected fodler in the widget, I'm 
getting the signal 4 or 5 times repeatedly.

And I think that should happens just one, Am I right ?

Thxs 


___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list