mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Fix freezing in create torrent dialog in Windows
This commit is contained in:
parent
c20226c187
commit
bf1a0f9aad
2 changed files with 10 additions and 5 deletions
|
@ -9,6 +9,9 @@
|
|||
* Fix starting the daemon in OS X
|
||||
* Fix loading improperly created torrents with mismatched encodings
|
||||
|
||||
==== Windows ====
|
||||
* Fix freezing in create torrent dialog
|
||||
|
||||
=== Deluge 1.1.6 - (06 April 2009) ===
|
||||
==== Core ====
|
||||
* Fix udp trackers being classified as DHT source
|
||||
|
|
|
@ -331,9 +331,13 @@ class CreateTorrentDialog:
|
|||
private=private,
|
||||
created_by=created_by,
|
||||
httpseeds=httpseeds)
|
||||
self.glade.get_widget("progress_dialog").hide_all()
|
||||
if add_to_session:
|
||||
client.add_torrent_file([target])
|
||||
|
||||
def finish_up(target):
|
||||
self.glade.get_widget("progress_dialog").hide_all()
|
||||
if add_to_session:
|
||||
client.add_torrent_file([target])
|
||||
|
||||
gobject.idle_add(finish_up, target)
|
||||
|
||||
def _on_create_torrent_progress(self, value, num_pieces):
|
||||
percent = float(value)/float(num_pieces)
|
||||
|
@ -392,5 +396,3 @@ class CreateTorrentDialog:
|
|||
log.debug("_on_button_remove_clicked")
|
||||
row = self.glade.get_widget("tracker_treeview").get_selection().get_selected()[1]
|
||||
self.trackers_liststore.remove(row)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue