g_printf("A\n");
- while (!success && gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT) {
+ while (!success && gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_OK) {
gchar *file_uri_str;
GnomeVFSResult vfs_result;
GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL,
GTK_STOCK_SAVE,
- GTK_RESPONSE_ACCEPT, NULL);
+ GTK_RESPONSE_OK, NULL);
gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog), TRUE);
} else {
dialog = gtk_file_chooser_dialog_new("Open", parent, action,
GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN,
- GTK_RESPONSE_ACCEPT, NULL);
+ GTK_RESPONSE_OK, NULL);
}
return dialog;
}