Changes between Initial Version and Version 4 of Ticket #230


Ignore:
Timestamp:
07/09/2011 02:34:39 PM (13 years ago)
Author:
Calum
Comment:

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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #230

    • Property Version 0.6.0svn
    • Property Type bugfeature-request
    • Property Summary Drag 'n' drop reorder of torrents doesn't workDrag 'n' drop reorder of torrents for download queue
    • Property Milestone1.4.0
  • Ticket #230 – Description

    initial v4  
    11When I tried to drag a torrent up the list, I got this in the log.
    22
    3 /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.
    4   gtk.main()
     3{{{
     4/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/gtkui.py:166: GtkWarning:
     5You must override the default 'drag_data_received' handler on GtkTreeView
     6when using models that don't support the GtkTreeDragDest interface and enabling
     7drag-and-drop.
     8The simplest way to do this is to connect to 'drag_data_received' and call
     9g_signal_stop_emission_by_name() in your signal handler to prevent the default
     10handler from running.
     11Look at the source code for the default handler in gtktreeview.c to get an idea
     12what your handler should do. (gtktreeview.c is in the GTK source code.)
     13If you're using GTK from a language other than C, there may be a more natural
     14way to override default handlers, e.g. via derivation. 
     15gtk.main()
     16}}}
     17