Author: andar

Revision: 5176

Log:
        Fix pause all/resume all

Diff:
Modified: branches/1.1.0_RC/ChangeLog
===================================================================
--- branches/1.1.0_RC/ChangeLog 2009-04-26 18:27:46 UTC (rev 5175)
+++ branches/1.1.0_RC/ChangeLog 2009-04-26 19:30:56 UTC (rev 5176)
@@ -1,3 +1,6 @@
+=== Deluge 1.1.8 - (In Development) ===
+  * Fix pause all/resume all
+
 === Deluge 1.1.7 - (25 April 2009) ===
 ==== Core ====
   * Fix issue where cannot resume torrent after doing a 'Pause All'

Modified: branches/1.1.0_RC/deluge/core/core.py
===================================================================
--- branches/1.1.0_RC/deluge/core/core.py       2009-04-26 18:27:46 UTC (rev 
5175)
+++ branches/1.1.0_RC/deluge/core/core.py       2009-04-26 19:30:56 UTC (rev 
5176)
@@ -519,12 +519,12 @@
 
     def export_pause_all_torrents(self):
         """Pause all torrents in the session"""
-        for torrent in self.torrentmanager.torrents.values():
+        for torrent in self.torrents.torrents.values():
             torrent.pause()
 
     def export_resume_all_torrents(self):
         """Resume all torrents in the session"""
-        for torrent in self.torrentmanager.torrents.values():
+        for torrent in self.torrents.torrents.values():
             torrent.resume()
         self.signals.emit("torrent_all_resumed")
 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to