mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
(trunk gtk) when running for the first time and deciding on a default watch directory, check G_USER_DIRECTORY_DOWNLOAD *before* G_USER_DIRECTORY_DESKTOP. Suggested by Chris Coulson @ https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/338046
This commit is contained in:
parent
80eca9666d
commit
8c1001f302
1 changed files with 1 additions and 1 deletions
|
@ -41,8 +41,8 @@ tr_prefs_init_defaults( void )
|
|||
|
||||
#ifdef HAVE_GIO
|
||||
str = NULL;
|
||||
if( !str ) str = g_get_user_special_dir( G_USER_DIRECTORY_DESKTOP );
|
||||
if( !str ) str = g_get_user_special_dir( G_USER_DIRECTORY_DOWNLOAD );
|
||||
if( !str ) str = g_get_user_special_dir( G_USER_DIRECTORY_DESKTOP );
|
||||
if( !str ) str = tr_getDefaultDownloadDir( );
|
||||
pref_string_set_default ( PREF_KEY_DIR_WATCH, str );
|
||||
pref_flag_set_default ( PREF_KEY_DIR_WATCH_ENABLED, FALSE );
|
||||
|
|
Loading…
Reference in a new issue