Re: GTK+2 - GtkFileChooserButton shows (none) as selected folder and crashes

2013-10-20 Thread zz
On Friday 18 October 2013 21:43:27 Alessandro Francesconi wrote: > Some of my application’s users declare a strange problem with a particular > widget: GtkFileChooserButton. > > > I needed to provide a way to select a single folder, so I used the widget > this way:

GTK+2 - GtkFileChooserButton shows (none) as selected folder and crashes

2013-10-18 Thread Alessandro Francesconi
Some of my application’s users declare a strange problem with a particular widget: GtkFileChooserButton. I needed to provide a way to select a single folder, so I used the widget this way: GtkWidget* button_outfolder = gtk_file_chooser_button_new(_("Select output f

Re: GtkFileChooserButton::file-set

2012-10-04 Thread Nicola Fontana
Il Thu, 4 Oct 2012 02:00:39 +0200 Rafał Mużyło scrisse: > On Thu, Oct 04, 2012 at 12:33:24AM +0200, Nicola Fontana wrote: > > Il Wed, 3 Oct 2012 23:28:23 +0200 Rafał Mużyło > > scrisse: > > > > > but the change on cancel was > > > recently fixed in bug . in regard of gtk 3.4 and 3.6 (unfortunat

GtkFileChooserButton::file-set

2012-10-03 Thread Rafał Mużyło
On Thu, Oct 04, 2012 at 12:33:24AM +0200, Nicola Fontana wrote: > Il Wed, 3 Oct 2012 23:28:23 +0200 Rafał Mużyło > scrisse: > > > but the change on cancel was > > recently fixed in bug . in regard of gtk 3.4 and 3.6 (unfortunately, not in > > 2.24 though, even if it seems to be only a matter of

Re: GtkFileChooserButton::file-set

2012-10-03 Thread Nicola Fontana
Il Wed, 3 Oct 2012 23:28:23 +0200 Rafał Mużyło scrisse: > On Wed, Oct 03, 2012 at 10:23:12PM +0200, Nicola Fontana wrote: > > I need to catch when the file has changed in a > > GtkFileChooserButton. I thought connecting to "file-set" was > > enough but this sign

GtkFileChooserButton::file-set

2012-10-03 Thread Rafał Mużyło
On Wed, Oct 03, 2012 at 10:23:12PM +0200, Nicola Fontana wrote: > I need to catch when the file has changed in a > GtkFileChooserButton. I thought connecting to "file-set" was > enough but this signal is not emitted when the user cancels > (although bug 555351 does not a

GtkFileChooserButton::file-set

2012-10-03 Thread Nicola Fontana
I need to catch when the file has changed in a GtkFileChooserButton. I thought connecting to "file-set" was enough but this signal is not emitted when the user cancels (although bug 555351 does not agree [1]). Here is the proof: #include int main(int argc, char **argv) { GtkWidg

GtkFileChooserButton with SAVE action

2011-11-18 Thread Jacques Pelletier
Hi, I would like to use a GtkFileChooserButton to select a filename for a unix domain socket. The filename doesn't exit but will be created when opening the socket as a server. Unfortunately, GtkFileChooserButton doesn't support the save action. I have 2 questions: 1- Why GtkFileCho

question about GtkFileChooserButton

2008-11-11 Thread Jorge Cob
Hello i have this little problem: I have a GtkFileChooserButton, with the action set to GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER (it's show as a combo box witch its last element is "other..." and it shows a file chooser dialog), in an instant apply window, so i have to update a valu

Re: GtkFileChooserButton bug?

2007-08-19 Thread Leonel Freire
[EMAIL PROTECTED] ~]$ pkg-config --modversion gtk+-2.0 2.10.14 ¬¬ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GtkFileChooserButton bug?

2007-08-19 Thread Leonel Freire
[EMAIL PROTECTED] ~]$ pkg-config --modversion gtk+-2.0 2.10.14 Leonel Freire ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GtkFileChooserButton bug?

2007-08-19 Thread Enrico Tröger
On Sun, 19 Aug 2007 14:15:17 -0300, "Leonel Freire" <[EMAIL PROTECTED]> wrote: > #include > > int main(int argc, char *argv[]) > { > GtkWidget *window; > GtkWidget *chooser; > > gtk_init(&argc, &argv); > > window = gtk_window_new(GTK_WINDOW_TOPLEVEL); > chooser = gtk_file_c

GtkFileChooserButton bug?

2007-08-19 Thread Leonel Freire
#include int main(int argc, char *argv[]) { GtkWidget *window; GtkWidget *chooser; gtk_init(&argc, &argv); window = gtk_window_new(GTK_WINDOW_TOPLEVEL); chooser = gtk_file_chooser_button_new(NULL, GTK_FILE_CHOOSER_ACTION_OPEN); gtk_widget_set_size_request(chooser, 300, -

A problem with GtkFileChooserButton (minor correction)

2007-03-25 Thread galtgendo
OK, should have noticed that, "file-set" will be in 2.12. Any sane way to emulate it before ? Something simpler than making a "response" callback for dialog of the GtkFileChooserButton, if not, any tips about one ? ___ gtk-app-dev

A problem with GtkFileChooserButton

2007-03-25 Thread galtgendo
Does GtkFileChooserButton have "file-set" signal or not ? GTK API (on the web) claims it does, but when I try to connect to it, I'm getting GLib-GObject-WARNING **: gsignal.c:1669: signal `file-set' is invalid for instance `0x82ab978' and I'm connecting right aft

gtkfilechooserbutton

2006-06-07 Thread Fabien Vantard
hi, Does there exist a way to display absolute path in a gtkfilechooserbutton (with GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER mode) ? Thanks in advance for your help. regards. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: GtkFileChooserButton on grabbed windows

2006-05-10 Thread Yeti
On Wed, May 10, 2006 at 05:09:53PM +0200, Francesco Montorsi wrote: > I'm using GtkFileChooserButton and I've found that if I call > gtk_grab_add on the toplevel window containing that button, then the > dialog shown by the button will be un-responsive while the main window

GtkFileChooserButton on grabbed windows

2006-05-10 Thread Francesco Montorsi
Hi, I'm using GtkFileChooserButton and I've found that if I call gtk_grab_add on the toplevel window containing that button, then the dialog shown by the button will be un-responsive while the main window will continue to handle user events (i.e. the dialog created by the dia

Re: GtkFileChooserButton issues

2005-10-14 Thread David Necas (Yeti)
On Thu, Oct 13, 2005 at 04:11:30PM +0200, David Necas (Yeti) wrote: > > I'm unable to set the button back to the "(None)" state This was a problem in my code, as it works on a simple example. > When it starts in the "(None)" state, user decides not to > select anything and presses Cancel, the fi

GtkFileChooserButton issues

2005-10-13 Thread David Necas (Yeti)
t's so), I'm not sure about the former. Moreover, it is not possible to get the dialog from a GtkFileChooserButton, therefore I cannot even connect to the dialog to detect non-OK closing of the dialog and fix the button (or, destroy it and create anew). Is there any other method to work

[solved] Re: GtkFileChooserButton - "signal change"

2005-06-19 Thread Uzytkownik
Dnia 18-06-2005, sob o godzinie 12:05 +0200, Daniel Pekelharing napisał(a): > On Sat, 2005-06-18 at 10:30 +0200, Uzytkownik wrote: > > I'd like to call some function, when user select new file in > > GtkFileChooserDialog. > > What should I do? > > I didn't find any signal like clicked or change? >

Re: GtkFileChooserButton - "signal change"

2005-06-18 Thread Uzytkownik
Dnia 18-06-2005, sob o godzinie 12:05 +0200, Daniel Pekelharing napisał(a): > On Sat, 2005-06-18 at 10:30 +0200, Uzytkownik wrote: > > I'd like to call some function, when user select new file in > > GtkFileChooserDialog. GtkFileChooserButton > > What should I do? &g

Re: GtkFileChooserButton - "signal change"

2005-06-18 Thread Daniel Pekelharing
On Sat, 2005-06-18 at 10:30 +0200, Uzytkownik wrote: > I'd like to call some function, when user select new file in > GtkFileChooserDialog. > What should I do? > I didn't find any signal like clicked or change? You can connect to the "response" signal: g_signal_connect(G_OBJECT(file_chooser), "res

GtkFileChooserButton - "signal change"

2005-06-18 Thread Uzytkownik
I'd like to call some function, when user select new file in GtkFileChooserDialog. What should I do? I didn't find any signal like clicked or change? Regards. -- Linux user: #376500 (see http://counter.li.org/) ___ gtk-app-devel-list mailing list gtk-ap