]> git.0d.be Git - empathy.git/commitdiff
It is a map from pidgin to CM, not MC.
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 17 Oct 2008 12:48:38 +0000 (12:48 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 17 Oct 2008 12:48:38 +0000 (12:48 +0000)
svn path=/trunk/; revision=1645

src/empathy-import-pidgin.c

index 0ca8b8a4ee84a0a2adaaedee00f9be33a811b5cc..aedad4e62a4b11a07f9e5724bd4ccdad455aea0b 100644 (file)
 
 #include <libempathy-gtk/empathy-ui-utils.h>
 
-/* Pidgin to MC map */
+/* Pidgin to CM map */
 typedef struct
 {
   gchar *protocol;
   gchar *pidgin_name;
-  gchar *mc_name;
-} PidginMcMapItem;
+  gchar *cm_name;
+} PidginCmMapItem;
 
-static PidginMcMapItem pidgin_mc_map[] =
+static PidginCmMapItem pidgin_cm_map[] =
 {
   { "msn", "server", "server" },
   { "msn", "port", "port" },
@@ -99,7 +99,7 @@ static void
 import_dialog_pidgin_parse_setting (EmpathyImportAccountData *data,
                                     xmlNodePtr setting)
 {
-  PidginMcMapItem *item = NULL;
+  PidginCmMapItem *item = NULL;
   gchar *tag_name;
   gchar *type = NULL;
   gchar *content;
@@ -112,13 +112,13 @@ import_dialog_pidgin_parse_setting (EmpathyImportAccountData *data,
     return;
 
   /* Search for the map corresponding to setting we are parsing */
-  for (i = 0; i < G_N_ELEMENTS (pidgin_mc_map); i++)
+  for (i = 0; i < G_N_ELEMENTS (pidgin_cm_map); i++)
     {
       if (!tp_strdiff (mc_profile_get_protocol_name (data->profile),
-            pidgin_mc_map[i].protocol) &&
-          !tp_strdiff (tag_name, pidgin_mc_map[i].pidgin_name))
+            pidgin_cm_map[i].protocol) &&
+          !tp_strdiff (tag_name, pidgin_cm_map[i].pidgin_name))
         {
-          item = pidgin_mc_map + i;
+          item = pidgin_cm_map + i;
           break;
         }
     }
@@ -150,7 +150,7 @@ import_dialog_pidgin_parse_setting (EmpathyImportAccountData *data,
     }
 
   if (value)
-    g_hash_table_insert (data->settings, item->mc_name, value);
+    g_hash_table_insert (data->settings, item->cm_name, value);
 
   g_free (type);
   g_free (content);