DND of chat tabs is back, sorry. Fixes #1306
This commit is contained in:
parent
912207c098
commit
b8a87be784
|
@ -471,7 +471,7 @@ class MessageWindow:
|
||||||
tab_label.dnd_handler = tab_label.connect('drag_data_get',
|
tab_label.dnd_handler = tab_label.connect('drag_data_get',
|
||||||
self.on_tab_label_drag_data_get_cb)
|
self.on_tab_label_drag_data_get_cb)
|
||||||
tab_label.drag_source_set(gtk.gdk.BUTTON1_MASK, self.DND_TARGETS,
|
tab_label.drag_source_set(gtk.gdk.BUTTON1_MASK, self.DND_TARGETS,
|
||||||
gtk.gdk.ACTION_COPY)
|
gtk.gdk.ACTION_MOVE)
|
||||||
tab_label.page_num = self.notebook.page_num(child)
|
tab_label.page_num = self.notebook.page_num(child)
|
||||||
|
|
||||||
def on_tab_label_drag_data_get_cb(self, widget, drag_context, selection, info, time):
|
def on_tab_label_drag_data_get_cb(self, widget, drag_context, selection, info, time):
|
||||||
|
|
Loading…
Reference in New Issue