aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-09-15 00:05:14 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-09-15 05:53:46 +0800
commitdea33b57496a4aa8f5c3d6a9e541c95b54196fb3 (patch)
tree7cc3c9ed270e7c4eee4fe2f759692d4f352b23bc
parent9600d59c5317b692e3549e0bcc293607cda5fb4e (diff)
downloadgsoc2013-empathy-dea33b57496a4aa8f5c3d6a9e541c95b54196fb3.tar
gsoc2013-empathy-dea33b57496a4aa8f5c3d6a9e541c95b54196fb3.tar.gz
gsoc2013-empathy-dea33b57496a4aa8f5c3d6a9e541c95b54196fb3.tar.bz2
gsoc2013-empathy-dea33b57496a4aa8f5c3d6a9e541c95b54196fb3.tar.lz
gsoc2013-empathy-dea33b57496a4aa8f5c3d6a9e541c95b54196fb3.tar.xz
gsoc2013-empathy-dea33b57496a4aa8f5c3d6a9e541c95b54196fb3.tar.zst
gsoc2013-empathy-dea33b57496a4aa8f5c3d6a9e541c95b54196fb3.zip
Don't use "/" to separate account and contact.
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c2
-rw-r--r--src/empathy-chat-window.c2
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 dcbbb18bf..3424e8dc1 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 9f596d295..7cad17c98 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);