Changeset 8038


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

(1.5x 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
  • branches/1.5x/gtk/tr-prefs.c

    r8027 r8038  
    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.