Opened 12 years ago

Closed 12 years ago

#1873 closed Enhancement (fixed)

Fallback path for the default download directory could be better

Reported by: charles Owned by: charles
Priority: Normal Milestone: 1.51
Component: GTK+ Client Version: 1.50
Severity: Minor Keywords:
Cc:

Description

1.50 currently uses g_get_user_special_dir( G_USER_DIRECTORY_DOWNLOAD ) to determine the default download directory for first-time users.

This is good, but in situations when that function returns NULL (such as, when the user's environment doesn't support XDG), the fallback path is g_get_home_dir(). Instead, we should use tr_getDefaultDownloadDir() as the default path. For most users this will resolve as $HOME/Downloads.

Change History (2)

comment:1 Changed 12 years ago by charles

  • Status changed from new to assigned

Fixed in trunk in r7952.

Fixed in 1.5x branch in r7953.

comment:2 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.