Re: Old gtk app, file open dialog freezes (Ubuntu 9.04)
- From: "Miroslav Rajcic" <rajcic sokrates hr>
- To: <gtk-app-devel-list gnome org>
- Subject: Re: Old gtk app, file open dialog freezes (Ubuntu 9.04)
- Date: Sat, 6 Jun 2009 12:52:22 +0200
Not sure if it is Ubuntu specific, but Ubuntu versions older thant 9.04 work
fine whth gio.
I haven't investigated too deeply into the issue, because I didn't
critically depend on gio methods.
----- Original Message -----
From: "Jack Turner" <jacob juvul com>
To: <gtk-app-devel-list gnome org>; <rajcic sokrates hr>
Sent: Saturday, June 06, 2009 11:48 AM
Subject: Re: Old gtk app, file open dialog freezes (Ubuntu 9.04)
Seem likely that I have the same problem.
This must be an Ubuntu bug then?
I just can't see how I can do without the g_io functions that I use.
On Sat, 2009-06-06 at 07:50 +0200, Miroslav Rajcic wrote:
I had the same problem with my program, and discovered by chance
that linking with gio library seems to cause this.
When I canged some unrelated code to older GnomeVfs, the file open dialog
started to work fine on the new Ubuntu 9.04.
Hopefully, the same tip could work for you.
Regards,
Miroslav
----- Original Message -----
From: "Jack Turner" <jacob juvul com>
To: <gtk-app-devel-list gnome org>
Sent: Saturday, June 06, 2009 2:49 AM
Subject: Old gtk app, file open dialog freezes (Ubuntu 9.04)
> Hello List
>
> I just compiled an old gtk app of mine and everything work except
> when I try opening a file.
> The dialog will hang with an hourglass and some of the folders in the
> left is missing.
>
> I use this code:
>
> filedialog = gtk_file_chooser_dialog_new ("Open File", parent_window,
> GTK_FILE_CHOOSER_ACTION_OPEN,
> GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN,
> GTK_RESPONSE_ACCEPT, NULL);
>
> gtk_dialog_set_default_response(filedialog, GTK_RESPONSE_ACCEPT);
>
> GtkFileFilter *filter;
> filter = gtk_file_filter_new();
>
> gtk_file_filter_add_pattern(filter, "*.xml");
> gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(filedialog), filter);
> gtk_widget_show(filedialog);
>
> if (gtk_dialog_run (GTK_DIALOG (filedialog)) == GTK_RESPONSE_ACCEPT)
> {
> ...
>
>
> Can anyone tell me whats wrong?
> The system is Ubuntu 9.04
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.53/2156 - Release Date:
06/05/09
06:24:00
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.54/2157 - Release Date: 06/05/09
17:55:00
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]