Opened 17 years ago

Last modified 8 years ago

#230 new feature-request

Drag 'n' drop reorder of torrents for download queue

Reported by: jonas@websystem.se Owned by: andar
Priority: minor Milestone: 2.x
Component: GTK UI Version:
Keywords: Cc:

Description (last modified by Calum)

When I tried to drag a torrent up the list, I got this in the log.

/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/gtkui.py:166: GtkWarning: 
You must override the default 'drag_data_received' handler on GtkTreeView 
when using models that don't support the GtkTreeDragDest interface and enabling 
drag-and-drop. 
The simplest way to do this is to connect to 'drag_data_received' and call 
g_signal_stop_emission_by_name() in your signal handler to prevent the default 
handler from running. 
Look at the source code for the default handler in gtktreeview.c to get an idea
what your handler should do. (gtktreeview.c is in the GTK source code.) 
If you're using GTK from a language other than C, there may be a more natural
way to override default handlers, e.g. via derivation.  
gtk.main()

Change History (5)

comment:1 by andar, 17 years ago

Milestone: 1.1.0
Type: bugfeature-request
Version: 0.6.0svn1.1.0_dev

comment:2 by (none), 16 years ago

Milestone: 1.1.0

Milestone 1.1.0 deleted

comment:3 by Calum, 15 years ago

Milestone: 1.4.0
Summary: Drag 'n' drop reorder of torrents doesn't workDrag 'n' drop reorder of torrents
Version: 1.1.0_dev

comment:4 by Calum, 14 years ago

Description: modified (diff)
Summary: Drag 'n' drop reorder of torrentsDrag 'n' drop reorder of torrents for download queue

I have added a handler so that the error will not occur but the functionality is still missing.

The ordering obviously could only be done when sorted by queue id (#).

comment:5 by Calum, 8 years ago

Milestone: 2.0.x2.x

Milestone renamed

Note: See TracTickets for help on using tickets.