[stephan k.] fixes with unicode in dnd
This commit is contained in:
parent
950d6d7d38
commit
99699d60e0
|
@ -1961,9 +1961,9 @@ _('If "%s" accepts this request you will know his status.') %jid)
|
||||||
if gajim.config.get('mergeaccounts') or len(gajim.connections) == 1:
|
if gajim.config.get('mergeaccounts') or len(gajim.connections) == 1:
|
||||||
merge = 1
|
merge = 1
|
||||||
model = treeview.get_model()
|
model = treeview.get_model()
|
||||||
data = selection.data
|
if not selection.data:
|
||||||
if not data:
|
|
||||||
return
|
return
|
||||||
|
data = selection.data.decode('utf-8')
|
||||||
drop_info = treeview.get_dest_row_at_pos(x, y)
|
drop_info = treeview.get_dest_row_at_pos(x, y)
|
||||||
if not drop_info:
|
if not drop_info:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue