aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-23 21:57:32 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-24 06:18:48 +0800
commit4b5fa08436333e571186c991496549be520f21eb (patch)
tree779be5806f73fde6800c92cec86b163d1bb0c4d6 /src
parent8781e7c615d1f233a530cff66cfe47aa54fddd2f (diff)
downloadgsoc2013-empathy-4b5fa08436333e571186c991496549be520f21eb.tar
gsoc2013-empathy-4b5fa08436333e571186c991496549be520f21eb.tar.gz
gsoc2013-empathy-4b5fa08436333e571186c991496549be520f21eb.tar.bz2
gsoc2013-empathy-4b5fa08436333e571186c991496549be520f21eb.tar.lz
gsoc2013-empathy-4b5fa08436333e571186c991496549be520f21eb.tar.xz
gsoc2013-empathy-4b5fa08436333e571186c991496549be520f21eb.tar.zst
gsoc2013-empathy-4b5fa08436333e571186c991496549be520f21eb.zip
Make the gconf entry be false by default
Diffstat (limited to 'src')
-rw-r--r--src/empathy-import-mc4-accounts.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/empathy-import-mc4-accounts.c b/src/empathy-import-mc4-accounts.c
index 86e2b1a3b..4ce8d4e80 100644
--- a/src/empathy-import-mc4-accounts.c
+++ b/src/empathy-import-mc4-accounts.c
@@ -32,7 +32,7 @@
#include <libempathy/empathy-debug.h>
#define MC_ACCOUNTS_GCONF_BASE "/apps/telepathy/mc/accounts"
-#define IMPORT_MC4_ACCOUNTS "/apps/empathy/accounts/import_mc4_accounts"
+#define IMPORTED_MC4_ACCOUNTS "/apps/empathy/accounts/imported_mc4_accounts"
typedef struct
{
@@ -436,12 +436,12 @@ void empathy_import_mc4_accounts (void)
GConfClient *client;
GError *error = NULL;
GSList *dir, *dirs, *entries;
- gboolean import_mc4_accounts;
+ gboolean imported_mc4_accounts;
client = gconf_client_get_default ();
- import_mc4_accounts = gconf_client_get_bool (client,
- IMPORT_MC4_ACCOUNTS, &error);
+ imported_mc4_accounts = gconf_client_get_bool (client,
+ IMPORTED_MC4_ACCOUNTS, &error);
if (error != NULL)
{
@@ -451,8 +451,9 @@ void empathy_import_mc4_accounts (void)
return;
}
- if (!import_mc4_accounts)
+ if (imported_mc4_accounts)
{
+ DEBUG ("Mc4 accounts already imported");
g_object_unref (client);
return;
}
@@ -541,7 +542,7 @@ void empathy_import_mc4_accounts (void)
}
gconf_client_set_bool (client,
- IMPORT_MC4_ACCOUNTS, FALSE, &error);
+ IMPORTED_MC4_ACCOUNTS, TRUE, &error);
if (error != NULL)
{
@@ -551,4 +552,4 @@ void empathy_import_mc4_accounts (void)
g_slist_free (dirs);
g_object_unref (client);
-} \ No newline at end of file
+}