Changeset 8027 for branches/1.5x/gtk/main.c
- Timestamp:
- Mar 5, 2009, 2:42:28 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5x/gtk/main.c
r7910 r8027 407 407 tr_notify_init( ); 408 408 didinit = cf_init( configDir, NULL ); /* must come before actions_init */ 409 tr_prefs_init_ global( );409 tr_prefs_init_defaults( ); 410 410 411 411 myUIManager = gtk_ui_manager_new ( ); … … 439 439 if( didlock && ( didinit || cf_init( configDir, &err ) ) ) 440 440 { 441 const char * str; 441 442 GtkWindow * win; 442 443 tr_session * session; 444 445 /* ensure the directories are created */ 446 if(( str = pref_string_get( PREF_KEY_DIR_WATCH ))) 447 mkdir_p( str, 0777 ); 448 if(( str = pref_string_get( TR_PREFS_KEY_DOWNLOAD_DIR ))) 449 mkdir_p( str, 0777 ); 443 450 444 451 /* initialize the libtransmission session */
Note: See TracChangeset
for help on using the changeset viewer.