mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix last
This commit is contained in:
parent
753f624805
commit
4abb436e34
1 changed files with 0 additions and 8 deletions
|
@ -38,7 +38,6 @@ pygtk.require('2.0')
|
|||
import gtk, gtk.glade
|
||||
import gettext
|
||||
import gobject
|
||||
from urlparse import urlparse
|
||||
|
||||
import deluge.common
|
||||
import deluge.component as component
|
||||
|
@ -165,7 +164,6 @@ class TorrentView(listview.ListView, component.Component):
|
|||
listview.cell_data_ratio,
|
||||
[float],
|
||||
status_field=["distributed_copies"])
|
||||
self.add_text_column(_("Tracker"), status_field=["tracker_host"])
|
||||
|
||||
# Set default sort column to #
|
||||
self.liststore.set_sort_column_id(self.get_column_index("#"), gtk.SORT_ASCENDING)
|
||||
|
@ -184,8 +182,6 @@ class TorrentView(listview.ListView, component.Component):
|
|||
# changes.
|
||||
self.treeview.get_selection().connect("changed",
|
||||
self.on_selection_changed)
|
||||
|
||||
self.treeview.connect("drag-drop", self.on_drag_drop)
|
||||
|
||||
def start(self):
|
||||
"""Start the torrentview"""
|
||||
|
@ -470,7 +466,3 @@ class TorrentView(listview.ListView, component.Component):
|
|||
component.get("TorrentDetails").update()
|
||||
component.get("ToolBar").update_buttons()
|
||||
component.get("MenuBar").update_menu()
|
||||
|
||||
def on_drag_drop(self, widget, drag_context, x, y, timestamp):
|
||||
widget.stop_emission("drag-drop")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue