Re: Location entry in GtkFileChooser

2008-04-16 Thread Carlos Pereira
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

Re: Location entry in GtkFileChooser

2008-04-15 Thread Damien Caliste
Hello, Le 15/04/2008, Carlos Pereira <[EMAIL PROTECTED]> a écrit : > 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

Re: Location entry in GtkFileChooser

2008-04-15 Thread Carlos Pereira
Luis Menina wrote: > Hi Carlos. > > Well, I'm not familiar with GtkFileChooser, but I think you should > retrieve the full filename, and then use g_path_get_basename to get > the short filename. > Thanks, that is a good suggestion, unfortunately it fails in my case. I really need to have access

Re: Location entry in GtkFileChooser

2008-04-15 Thread Carlos Pereira
Martin (OPENGeoMap) wrote: > >> Hullo, >> >> In a GTkFilechooser, how can I acess the information >> on the Location entry? I only find functions to get >> the full filename and uri but not the actual short >> filename... >> >> >> > I don´t understand well?? > > are you talking about filters??? >

Re: Location entry in GtkFileChooser

2008-04-14 Thread Luis Menina
Hi Carlos. Well, I'm not familiar with GtkFileChooser, but I think you should retrieve the full filename, and then use g_path_get_basename to get the short filename. Cheers, Luis Carlos Pereira a écrit : > Hullo, > > In a GTkFilechooser, how can I acess the information > on the Location entr