[Gambas-user] Dialog.Path problem using gb.gui

Benoit Minisini gambas at ...1...
Sun Dec 16 13:36:21 CET 2007


On mercredi 12 décembre 2007, M0E Lnx wrote:
> I'm using gb.gui for my project. After upgrading to RC1, I noticed
> this weird problem.
> When I set the dialog path I get this ugly annoying message in the console.
>
> (new:9550): Gtk-CRITICAL **: gtk_file_folder_unix_get_info: assertion
> `strcmp (dirname, folder_unix->filename) == 0' failed
>
> My code looks something like this
>
> Button1_Click()
> Dialog.path = "/tmp"
> if dialog.openfile() then return
> Textbox1.text = dialog.path
> END
>
> This message does not occur if I set the dialog.path to user.home but
> it does if I set it to anything else.
>
> Any ideas how to get around this? I really dont want to use gb.qt or
> gb.gtk... I want gb.gui
> Is this a known bug?
>

I do not have this warning message at all. Which version of GTK+ is installed 
on your system?

-- 
Benoit Minisini




More information about the User mailing list