Changeset 10341


Ignore:
Timestamp:
Mar 9, 2010, 10:00:45 PM (12 years ago)
Author:
charles
Message:

(1.9x gtk) #3033 "wrong calls to GtkFileChooserDialog?" -- fixed in 1.9x for 1.92

Location:
branches/1.9x/gtk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/1.9x/gtk/add-dialog.c

    r10282 r10341  
    338338    w = gtk_file_chooser_button_new( _( "Select Destination Folder" ),
    339339                                     GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER );
    340     if( !gtk_file_chooser_set_filename( GTK_FILE_CHOOSER( w ),
    341                                         data->downloadDir ) )
     340    if( !gtk_file_chooser_set_current_folder( GTK_FILE_CHOOSER( w ),
     341                                              data->downloadDir ) )
    342342        g_warning( "couldn't select '%s'", data->downloadDir );
    343343    list = get_recent_destinations( );
  • branches/1.9x/gtk/makemeta-ui.c

    r10066 r10341  
    404404        str = _( "Sa_ve to:" );
    405405        w = gtk_file_chooser_button_new( NULL, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER );
    406         gtk_file_chooser_set_filename( GTK_FILE_CHOOSER( w ), getDefaultSavePath( ) );
     406        gtk_file_chooser_set_current_folder( GTK_FILE_CHOOSER( w ), getDefaultSavePath( ) );
    407407        ui->destination_chooser = w;
    408408        hig_workarea_add_row( t, &row, str, w, NULL );
  • branches/1.9x/gtk/relocate.c

    r10294 r10341  
    135135        previousLocation = g_strdup( pref_string_get( TR_PREFS_KEY_DOWNLOAD_DIR ) );
    136136    w = gtk_file_chooser_button_new( _( "Set Torrent Location" ), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER );
    137     gtk_file_chooser_set_filename( GTK_FILE_CHOOSER( w ), previousLocation );
     137    gtk_file_chooser_set_current_folder( GTK_FILE_CHOOSER( w ), previousLocation );
    138138    g_object_set_data( G_OBJECT( d ), "chooser", w );
    139139    hig_workarea_add_row( t, &row, _( "Torrent _location:" ), w, NULL );
Note: See TracChangeset for help on using the changeset viewer.