More clean ups in interface code.

This commit is contained in:
Alex Dedul 2007-08-06 02:23:08 +00:00
parent b26ebe6883
commit 900ac29d4c
1 changed files with 0 additions and 5 deletions

View File

@ -593,11 +593,6 @@ class DelugeGTK:
self.torrent_view.grab_focus() self.torrent_view.grab_focus()
self.torrent_view.set_cursor(path, col, 0) 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, self.torrent_menu.popup(None, None, None, event.button,
event.time) event.time)