Changeset 6164


Ignore:
Timestamp:
Jun 12, 2008, 5:39:35 PM (14 years ago)
Author:
charles
Message:

(gtk) handle importing settings from the old file format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/conf.c

    r6162 r6164  
    288288getCompat121PrefsFilename( void )
    289289{
    290     assert( gl_confdir != NULL );
    291     return g_build_filename( gl_confdir, "prefs.ini", NULL );
     290    return g_build_filename( g_get_user_config_dir(), "transmission", "gtk", "prefs.ini", NULL );
    292291}
    293292
     
    379378
    380379        if( !strcmp(val,"true") || !strcmp(val,"false") )
    381             tr_bencDictAddInt( &dict, key, !strcmp(val,"true") );
     380            tr_bencDictAddInt( &dict, key, !strcmp( val, "true" ) );
    382381        else {
    383382            char * end;
Note: See TracChangeset for help on using the changeset viewer.