Changeset 8037


Ignore:
Timestamp:
Mar 6, 2009, 4:14:40 PM (13 years ago)
Author:
charles
Message:

(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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-prefs.c

    r8026 r8037  
    4242#ifdef HAVE_GIO
    4343    str = NULL;
     44    if( !str ) str = g_get_user_special_dir( G_USER_DIRECTORY_DOWNLOAD );
    4445    if( !str ) str = g_get_user_special_dir( G_USER_DIRECTORY_DESKTOP );
    45     if( !str ) str = g_get_user_special_dir( G_USER_DIRECTORY_DOWNLOAD );
    4646    if( !str ) str = tr_getDefaultDownloadDir( );
    4747    pref_string_set_default ( PREF_KEY_DIR_WATCH, str );
Note: See TracChangeset for help on using the changeset viewer.