mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(gtk) same Lacrocivous-inspired tweaks, in the multifile open dialog
This commit is contained in:
parent
e9c8c20962
commit
b353ae4b43
1 changed files with 2 additions and 1 deletions
|
@ -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 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue