Opened 11 years ago

Last modified 2 years ago

#230 new feature-request

Drag 'n' drop reorder of torrents for download queue

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

Description (last modified by Cas)

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 Changed 11 years ago by andar

  • Milestone set to 1.1.0
  • Type changed from bug to feature-request
  • Version changed from 0.6.0svn to 1.1.0_dev

comment:2 Changed 10 years ago by anonymous

  • Milestone 1.1.0 deleted

Milestone 1.1.0 deleted

comment:3 Changed 9 years ago by Cas

  • Milestone set to 1.4.0
  • Summary changed from Drag 'n' drop reorder of torrents doesn't work to Drag 'n' drop reorder of torrents
  • Version 1.1.0_dev deleted

comment:4 Changed 8 years ago by Cas

  • Description modified (diff)
  • Summary changed from Drag 'n' drop reorder of torrents to Drag '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 Changed 2 years ago by Cas

  • Milestone changed from 2.0.x to 2.x

Milestone renamed

Note: See TracTickets for help on using tickets.