workaround a GTK windows bug

This commit is contained in:
Yann Leboulanger 2006-02-03 15:38:00 +00:00
parent 327f07c6aa
commit e155e9b496
1 changed files with 4 additions and 3 deletions

View File

@ -2699,9 +2699,10 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
return return
if grp_source == grp_dest: if grp_source == grp_dest:
# Add meta contact # Add meta contact
if context.action == gtk.gdk.ACTION_COPY: #FIXME: doesn't work under windows: http://bugzilla.gnome.org/show_bug.cgi?id=329797
# Keep only MOVE # if context.action == gtk.gdk.ACTION_COPY:
return # # Keep only MOVE
# return
jid_dest = model[iter_dest][C_JID].decode('utf-8') jid_dest = model[iter_dest][C_JID].decode('utf-8')
gajim.contacts.add_subcontact(account, jid_dest, jid_source) gajim.contacts.add_subcontact(account, jid_dest, jid_source)
# remove the source row # remove the source row