Hi, You were right, gtk_file_chooser_get_uri () gives me correctly the contents in the Location GtkEntry. Sort off:
If I write http://www.app.org/, I get the same. However, if I write http://www.app.org (without the final slash) I get: http%3A%2F%2Fwww.app.org Other problems still remain. When I write, say, ftp://ftp.my_site.org/my_path/my_file.xml too clever GTK immediately prompts a dialog of his own, asking me for a user/password combination, or a click for anonymous... even when I explicitly said, to disable Gtk network code: gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (filechooser), TRUE); I don't want that dialog at all, the anonymous ftp is chosen automatically (as in any browser...) the question is, how can I disable it? GTk is obviously connecting the GtkEntry "changed" signal... but how can I accees it? :-( Other question, GTK always, show at least to me, a default file, (the first one) in the File List and as a consequence, in the Location Entry, which in my opinion is wrong. This seems related with the equivalent issue I reported weeks ago about GtkTreeView: a default is always shown, even when it makes no sense. I still think the best solution for most problems, not all :-(, I have with Gtkfilechooser is to get acess to the Location GtkEntry... How can I do that? Actually this is a matter of principle: as a GTK user, I should be able to access ALL the relevant, visble widgets in ANY Gtk dialog... let's say I want to change the base color of that Entry, light yellow, to signal some "secure connection". How can I possibly do that, if I have no access to the GtkEntry in the first place? Thank you very much, for your interest in this matter Carlos >> The reason is, in my app, I accept local and remote addresses as >> well. It works >> > I've never used this function, so I may be wrong, but you may try > gtk_file_chooser_get_uri() instead of gtk_file_chooser_get_filename() > to retrieve the entry value. > > Damien _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list