1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

(gtk) same Lacrocivous-inspired tweaks, in the multifile open dialog

This commit is contained in:
Charles Kerr 2008-02-13 04:40:34 +00:00
parent e9c8c20962
commit b353ae4b43

View file

@ -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 ); gtk_file_chooser_set_select_multiple( GTK_FILE_CHOOSER( wind ), FALSE );
if( tr_ctorGetDestination( ctor, TR_FORCE, &str ) ) if( tr_ctorGetDestination( ctor, TR_FORCE, &str ) )
g_assert_not_reached( ); 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 ); v = gtk_vbox_new( FALSE, GUI_PAD );