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
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
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
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???
>
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