add multiple file selection for 'add torrent'

This commit is contained in:
Marcos Pinto 2007-06-26 05:51:45 +00:00
parent 8649b4b973
commit 1f4665c189
1 changed files with 2 additions and 1 deletions

View File

@ -1129,7 +1129,8 @@ class DelugeGTK:
def add_torrent_clicked(self, obj=None):
torrent = dialogs.show_file_open_dialog()
if torrent is not None:
self.interactive_add_torrent(torrent)
for single in torrent:
self.interactive_add_torrent(single)
def add_torrent_url_clicked(self, obj=None):
dlg = gtk.Dialog(title=_("Add torrent from URL"), parent=self.window,