Opened 15 years ago

Closed 14 years ago

Last modified 10 years ago

#167 closed Defect (wontfix)

Better preferences storage for DownloadFolder user default

Reported by: cluthi81 Owned by: livings124
Priority: Normal Milestone: Sometime
Component: Mac Client Version: Other
Severity: Normal Keywords: download folder preferences
Cc:

Description

Hello. I have written a patch for better storage of the DownloadFolder? user default. Instead of storing it as a path, I store it as an alias record. This allows users to move and/or rename their default download folder :-) The code is very error checking and the case where the download folder would be deleted is taken into account: if the folder does not exist anymore, then the user is asked where to save the files and an appropriate message is written in the Transfers preference (Warning sign + "Folder not found").

All the necessary files (patch + new files) are attached. The keyedobjects.nib file must replace the one of the PrefsWindows?.nib because of different bindings (ExpandedPathTo?... -> AliasDataTo?...)

I you have questions, don't hesitate to contact me.

Attachments (9)

DownloadFolderAlias patch files.zip (36.4 KB) - added by cluthi81 15 years ago.
All the necessary files to properly store the user default download folder
AliasDataToIconTransformer.h (104 bytes) - added by cluthi81 15 years ago.
Transformer for bindings
AliasDataToIconTransformer.m (718 bytes) - added by cluthi81 15 years ago.
Transformer for bindings
AliasDataToPathTransformer.h (104 bytes) - added by cluthi81 15 years ago.
Transformer for bindings
AliasDataToPathTransformer.m (459 bytes) - added by cluthi81 15 years ago.
Transformer for bindings
BDAlias.h (2.7 KB) - added by cluthi81 15 years ago.
Cocoa wrapper around alias records
BDAlias.m (7.5 KB) - added by cluthi81 15 years ago.
Cocoa wrapper around alias records
DownloadFolderAlias.patch (11.6 KB) - added by cluthi81 15 years ago.
The patch itself (also adds the above files in the Xcode project)
keyedobjects.nib (43.1 KB) - added by cluthi81 15 years ago.
Different bindings (AliasData? instead of ExpandedPath?) for PrefsWindow?.nib

Download all attachments as: .zip

Change History (19)

Changed 15 years ago by cluthi81

All the necessary files to properly store the user default download folder

Changed 15 years ago by cluthi81

Transformer for bindings

Changed 15 years ago by cluthi81

Transformer for bindings

Changed 15 years ago by cluthi81

Transformer for bindings

Changed 15 years ago by cluthi81

Transformer for bindings

Changed 15 years ago by cluthi81

Cocoa wrapper around alias records

Changed 15 years ago by cluthi81

Cocoa wrapper around alias records

Changed 15 years ago by cluthi81

The patch itself (also adds the above files in the Xcode project)

Changed 15 years ago by cluthi81

Different bindings (AliasData? instead of ExpandedPath?) for PrefsWindow?.nib

comment:1 Changed 15 years ago by livings124

This way might be a bit more confusing than the current behavior.

comment:2 Changed 15 years ago by livings124

  • Resolution set to wontfix
  • Status changed from new to closed

comment:3 Changed 14 years ago by charles

  • Resolution wontfix deleted
  • Status changed from closed to reopened

comment:4 Changed 14 years ago by charles

  • Resolution set to fixed
  • Status changed from reopened to closed

comment:5 Changed 14 years ago by charles

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:6 Changed 14 years ago by charles

  • Resolution set to wontfix
  • Status changed from reopened to closed

comment:7 Changed 14 years ago by charles

  • Resolution wontfix deleted
  • Status changed from closed to reopened

grr

comment:8 Changed 14 years ago by charles

  • Owner changed from livings124@… to livings124
  • Status changed from reopened to new

comment:9 Changed 14 years ago by charles

  • Resolution set to wontfix
  • Status changed from new to closed

comment:10 Changed 10 years ago by jordan

  • Component changed from Transmission to Mac Client
Note: See TracTickets for help on using tickets.