]> git.0d.be Git - empathy.git/commitdiff
Don't use "/" to separate account and contact.
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 14 Sep 2009 16:05:14 +0000 (18:05 +0200)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 14 Sep 2009 21:53:46 +0000 (22:53 +0100)
libempathy-gtk/empathy-contact-list-view.c
src/empathy-chat-window.c

index dcbbb18bf57ffccf276ed544ef5c21e8b24ed02e..3424e8dc1cb2a2c6e49407ee67a50e6f28327f77 100644 (file)
@@ -489,7 +489,7 @@ contact_list_view_drag_data_get (GtkWidget        *widget,
        account_id = empathy_account_get_unique_name (account);
        contact_id = empathy_contact_get_id (contact);
        g_object_unref (contact);
-       str = g_strconcat (account_id, "/", contact_id, NULL);
+       str = g_strconcat (account_id, ":", contact_id, NULL);
 
        switch (info) {
        case DND_DRAG_TYPE_CONTACT_ID:
index 9f596d29537c18253d5005f689cebbcb98580f58..7cad17c98e2e04b9202c871314a3c8eeb646d457 100644 (file)
@@ -1273,7 +1273,7 @@ chat_window_drag_data_received (GtkWidget        *widget,
 
                DEBUG ("DND contact from roster with id:'%s'", id);
 
-               strv = g_strsplit (id, "/", 2);
+               strv = g_strsplit (id, ":", 2);
                account_id = strv[0];
                contact_id = strv[1];
                account = empathy_account_manager_get_account (account_manager, account_id);