pmik76 / rtgui

Automatically exported from code.google.com/p/rtgui
0 stars 0 forks source link

View->Storage: show current directory as rTorrent's cwd, not rtgui's #118

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What's been bugging me about rtgui is that it considers its own directory (the 
one in which it is installed) to be the current directory for all downloads, 
even though rTorrent disagrees very much on this.

Steps to reproduce:
1. Add a torrent.
2. Click on the newly added torrent.
3. Click on the "Storage" tab.

What you see now is that rtgui seems to think the contents of the torrent will 
be downloaded in its own working directory, because rTorrent reports the 
download directory of torrents as '.' by default. That's counterintuitive, so I 
thought I'd give it a go and fix this myself.

Please find attached a patch with the proposed changes to fix this issue.

Original issue reported on code.google.com by stefanhe...@gmail.com on 20 Apr 2012 at 11:10

Attachments:

GoogleCodeExporter commented 9 years ago
Upon further inspection, I realized that my patch does not work for torrents 
containing a directory (instead of a single file). So I have a new patch here. 
It might not be beautiful, and I'm open to suggestions as to how to make it 
better.

Original comment by stefanhe...@gmail.com on 29 Apr 2012 at 12:47

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by lemonbe...@gmail.com on 27 Feb 2014 at 7:31