#230: Drag 'n' drop reorder of torrents for download queue
--------------------------------+-------------------------------------------
 Reporter:  jonas@…             |       Owner:  andar
     Type:  feature-request     |      Status:  new  
 Priority:  minor               |   Milestone:  1.4.0
Component:  gtkui               |     Version:       
 Keywords:                      |  
--------------------------------+-------------------------------------------

Old description:

> 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()

New description:

 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()
 }}}

--

Comment(by Cas):

 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 (#).

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/230#comment:4>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to