From 7dc82a598357dd6c8252e9623604dc8531e120a5 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sun, 29 Jul 2007 03:03:47 +0000 Subject: [PATCH] remove remnants of old pause/start --- src/interface.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/interface.py b/src/interface.py index 86e82c1d5..a74e543df 100644 --- a/src/interface.py +++ b/src/interface.py @@ -902,12 +902,6 @@ class DelugeGTK: path = torrent_selection.get_selected_rows()[1][0] unique_id = self.torrent_model.get_value(self.torrent_model.get_iter(path), 0) - if self.manager.get_torrent_state(unique_id)["is_paused"]: - self.wtree.get_widget("toolbutton_resume").set_stock_id(gtk.STOCK_MEDIA_PLAY) - self.wtree.get_widget("toolbutton_resume").set_label(_("Resume")) - else: - self.wtree.get_widget("toolbutton_pause").set_stock_id(gtk.STOCK_MEDIA_PAUSE) - self.wtree.get_widget("toolbutton_pause").set_label(_("Pause")) return True def update_statusbar_and_tray(self):