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

Benoit Minisini gambas at ...1...
Thu Dec 13 19:53:21 CET 2007


On jeudi 13 décembre 2007, M0E Lnx wrote:
> On Dec 12, 2007 12:36 PM, M0E Lnx <m0e.lnx at ...626...> 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?
>
> Anybody?
>

I will look at that when I have time.

-- 
Benoit Minisini




More information about the User mailing list