Ticket #34: deluge_torrent_view_clear_t34.patch

File deluge_torrent_view_clear_t34.patch, 500 bytes (added by sadrul, 14 years ago)

patch

  • deluge/ui/gtkui/torrentview.py

     
    184184        client.get_session_state(self._on_session_state) 
    185185 
    186186    def _on_session_state(self, state): 
     187        self.liststore.clear() 
    187188        for torrent_id in state: 
    188189            self.add_row(torrent_id) 
    189              
    190190        self.update() 
    191191         
    192192    def stop(self):