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

timothy timothy.marshal-nichols at ...247...
Mon Dec 17 14:55:06 CET 2007


> -----Original Message-----
> From: gambas-user-bounces at lists.sourceforge.net 
> [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf 
> Of Benoit Minisini
> Sent: Sunday, 16 December 2007 12:36 PM
> To: mailing list for gambas users
> Subject: Re: [Gambas-user] Dialog.Path problem using gb.gui
> 
> 
> 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
> 


I have the same problem. Well it's just an annoying error message
really.

I am currently running openSUSE 10.2. I think the installed GTK2 version
is 2.10.6-13. But with openSUSE update's this taken to 2.10.6-24.2.

Hope this helps.

8-{)} Timothy Marshal-Nichols
<mailto: timothy.marshal-nichols at ...247...>






More information about the User mailing list