[empathy] Don't use "/" to separate account and contact.



commit dea33b57496a4aa8f5c3d6a9e541c95b54196fb3
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Sep 14 18:05:14 2009 +0200

    Don't use "/" to separate account and contact.

 libempathy-gtk/empathy-contact-list-view.c |    2 +-
 src/empathy-chat-window.c                  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index dcbbb18..3424e8d 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -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:
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 9f596d2..7cad17c 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]