Hello, I have a problem with hildon file chooser dialog in scratchbox. I can not test in N900:-)
I use simple code hildon_file_chooser_dialog_new((GtkWindow*)window,GTK_FILE_CHOOSER_ACTION_SAVE); GtkFileFilter *filter=gtk_file_filter_new(); gtk_file_filter_add_pattern (filter,"*.png"); gtk_file_chooser_set_filter (GTK_FILE_CHOOSER (fdialog),filter); gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (fdialog), "nicedraw"); gtk_widget_show_all(GTK_WIDGET(fdialog)); if (gtk_dialog_run (GTK_DIALOG (fdialog)) == GTK_RESPONSE_OK) { SaveToFile=TRUE; char nn[150]; char *filename; filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (fdialog)); g_stpcpy(nn,filename); g_free (filename); Only in case I directly press "SAVE" when the dialog is open, I get an corrupted filename. If I first change location in the dialog everything works fine. Is this only a problem in scratchbox. I used X86 target and run it in the full maemo GUI. My application was installed with the GUI installer. Thanks a lot for any hint Detlef _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers