[stephan k.] fixes with unicode in dnd

This commit is contained in:
Nikos Kouremenos 2005-08-30 20:58:40 +00:00
parent 950d6d7d38
commit 99699d60e0
1 changed files with 2 additions and 2 deletions

View File

@ -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:
merge = 1
model = treeview.get_model()
data = selection.data
if not data:
if not selection.data:
return
data = selection.data.decode('utf-8')
drop_info = treeview.get_dest_row_at_pos(x, y)
if not drop_info:
return