[Bugs] #3999 journal URGE: Journal drag and drop features broken

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Dec 22 21:32:06 EST 2012


#3999: Journal drag and drop features broken
----------------------------+-----------------------------------------------
    Reporter:  garycmartin  |          Owner:  humitos           
        Type:  defect       |         Status:  assigned          
    Priority:  Urgent       |      Milestone:  0.98              
   Component:  journal      |        Version:  0.97.x            
    Severity:  Major        |       Keywords:  13.1.0, regression
Distribution:  OLPC         |   Status_field:  Assigned          
----------------------------+-----------------------------------------------

Comment(by humitos):

 Replying to [comment:8 godiard]:
 > Drop in the device toolbutton show error (with mouse):
 >
 > {{{
 > TypeError: do_drag_data_get() takes exactly 3 arguments (2 given)
 > }}}

 This is happening because Gtk is not passing the "selection_data" argument
 to our overridden function {{{do_drag_data_get}}}. The documentation says
 explicitly that we should receive 2 arguments: "path" and
 "selection_data". But we are receiving just "path".

 [1] http://developer.gnome.org/gtk3/3.6/gtk3-GtkTreeView-drag-and-
 drop.html#gtk-tree-drag-source-drag-data-get

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3999#comment:10>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list