Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Features/GTK3/Porting
(view source)
Revision as of 10:32, 22 June 2013
18 bytes added
,
10:32, 22 June 2013
→Changes to Drag-and-Drop
Line 257:
Line 257:
self.drag_dest_set(Gtk.DestDefaults.ALL, [],
self.drag_dest_set(Gtk.DestDefaults.ALL, [],
Gdk.DragAction.COPY)
Gdk.DragAction.COPY)
−
self.drag_dest_set_target_list(
None
)
+
self.drag_dest_set_target_list(
Gtk.TargetList.new([])
)
self.drag_dest_add_text_targets()
self.drag_dest_add_text_targets()
self.connect('drag_data_received', self._drag_data_received)
self.connect('drag_data_received', self._drag_data_received)
Walter
Bureaucrats
,
Administrators
10,579
edits