diff --git a/gtk/dialogs.c b/gtk/dialogs.c index a04a30cf5..717233c1c 100644 --- a/gtk/dialogs.c +++ b/gtk/dialogs.c @@ -143,7 +143,8 @@ promptfordir( GtkWindow * parent, TrCore * core, GList * files, tr_ctor * ctor ) gtk_file_chooser_set_select_multiple( GTK_FILE_CHOOSER( wind ), FALSE ); if( tr_ctorGetDestination( ctor, TR_FORCE, &str ) ) g_assert_not_reached( ); - gtk_file_chooser_set_uri( GTK_FILE_CHOOSER( wind ), str ); + if( !gtk_file_chooser_set_filename( GTK_FILE_CHOOSER( wind ), str ) ) + g_warning( "couldn't set destination '%s'", str ); v = gtk_vbox_new( FALSE, GUI_PAD );