]> git.0d.be Git - empathy.git/blobdiff - src/empathy-auto-salut-account-helper.c
Updated Polish translation
[empathy.git] / src / empathy-auto-salut-account-helper.c
index a5fbcf0c39bbe864f1f20d2c2851f99759e774c7..37aedb325111d50930b70de10236b87c4d8ad2e5 100644 (file)
@@ -42,17 +42,6 @@ should_create_salut_account (TpAccountManager *manager)
   gboolean salut_created = FALSE;
   GList *accounts, *l;
 
-  /* Check if we already created a salut account */
-  empathy_conf_get_bool (empathy_conf_get (),
-      EMPATHY_PREFS_SALUT_ACCOUNT_CREATED,
-      &salut_created);
-
-  if (salut_created)
-    {
-      DEBUG ("Gconf says we already created a salut account once");
-      return FALSE;
-    }
-
   accounts = tp_account_manager_get_valid_accounts (manager);
 
   for (l = accounts; l != NULL;  l = g_list_next (l))
@@ -68,14 +57,6 @@ should_create_salut_account (TpAccountManager *manager)
 
   g_list_free (accounts);
 
-  if (salut_created)
-    {
-      DEBUG ("Existing salut account already exists, flagging so in gconf");
-      empathy_conf_set_bool (empathy_conf_get (),
-          EMPATHY_PREFS_SALUT_ACCOUNT_CREATED,
-          TRUE);
-    }
-
   return !salut_created;
 }
 
@@ -98,8 +79,7 @@ create_salut_account_settings (void)
   /* Get self EContact from EDS */
   if (!e_book_get_self (&contact, &book, &error))
     {
-      DEBUG ("Failed to get self econtact: %s",
-          error ? error->message : "No error given");
+      DEBUG ("Failed to get self econtact: %s", error->message);
       g_error_free (error);
       return settings;
     }