From 900ac29d4c035d2cffc24a4efa6f3c6aed11cb0b Mon Sep 17 00:00:00 2001 From: Alex Dedul Date: Mon, 6 Aug 2007 02:23:08 +0000 Subject: [PATCH] More clean ups in interface code. --- src/interface.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/interface.py b/src/interface.py index ea1a3c83c..070775a49 100644 --- a/src/interface.py +++ b/src/interface.py @@ -593,11 +593,6 @@ class DelugeGTK: self.torrent_view.grab_focus() self.torrent_view.set_cursor(path, col, 0) - unique_id = self.torrent_model.get_value(self.torrent_model.get_iter(path), 0) - # Get the torrent state so we can check if the torrent is paused. - torrent_state = self.manager.get_torrent_state(unique_id) - widget = self.torrent_glade.get_widget("menu_pause") - self.torrent_menu.popup(None, None, None, event.button, event.time)