mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-12 11:20:09 +00:00
add multiple file selection for 'add torrent'
This commit is contained in:
parent
8649b4b973
commit
1f4665c189
1 changed files with 2 additions and 1 deletions
|
@ -1129,7 +1129,8 @@ class DelugeGTK:
|
||||||
def add_torrent_clicked(self, obj=None):
|
def add_torrent_clicked(self, obj=None):
|
||||||
torrent = dialogs.show_file_open_dialog()
|
torrent = dialogs.show_file_open_dialog()
|
||||||
if torrent is not None:
|
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):
|
def add_torrent_url_clicked(self, obj=None):
|
||||||
dlg = gtk.Dialog(title=_("Add torrent from URL"), parent=self.window,
|
dlg = gtk.Dialog(title=_("Add torrent from URL"), parent=self.window,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue