mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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 starting the daemon in OS X
|
||||||
* Fix loading improperly created torrents with mismatched encodings
|
* Fix loading improperly created torrents with mismatched encodings
|
||||||
|
|
||||||
|
==== Windows ====
|
||||||
|
* Fix freezing in create torrent dialog
|
||||||
|
|
||||||
=== Deluge 1.1.6 - (06 April 2009) ===
|
=== Deluge 1.1.6 - (06 April 2009) ===
|
||||||
==== Core ====
|
==== Core ====
|
||||||
* Fix udp trackers being classified as DHT source
|
* Fix udp trackers being classified as DHT source
|
||||||
|
|
|
@ -331,9 +331,13 @@ class CreateTorrentDialog:
|
||||||
private=private,
|
private=private,
|
||||||
created_by=created_by,
|
created_by=created_by,
|
||||||
httpseeds=httpseeds)
|
httpseeds=httpseeds)
|
||||||
self.glade.get_widget("progress_dialog").hide_all()
|
|
||||||
if add_to_session:
|
def finish_up(target):
|
||||||
client.add_torrent_file([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):
|
def _on_create_torrent_progress(self, value, num_pieces):
|
||||||
percent = float(value)/float(num_pieces)
|
percent = float(value)/float(num_pieces)
|
||||||
|
@ -392,5 +396,3 @@ class CreateTorrentDialog:
|
||||||
log.debug("_on_button_remove_clicked")
|
log.debug("_on_button_remove_clicked")
|
||||||
row = self.glade.get_widget("tracker_treeview").get_selection().get_selected()[1]
|
row = self.glade.get_widget("tracker_treeview").get_selection().get_selected()[1]
|
||||||
self.trackers_liststore.remove(row)
|
self.trackers_liststore.remove(row)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue