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