diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-08-31 20:58:08 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-09-06 13:37:08 +0800 |
commit | 2d217cf1e80cfa1437f9f08e124b0c6f1fbe247c (patch) | |
tree | 3b32805e54800f861be6c865a95d6bd50f441be0 /goa-mc-plugin | |
parent | 2f5e2d1fdb7220291a75357c6c51ab7000e8b897 (diff) | |
download | gsoc2013-empathy-2d217cf1e80cfa1437f9f08e124b0c6f1fbe247c.tar gsoc2013-empathy-2d217cf1e80cfa1437f9f08e124b0c6f1fbe247c.tar.gz gsoc2013-empathy-2d217cf1e80cfa1437f9f08e124b0c6f1fbe247c.tar.bz2 gsoc2013-empathy-2d217cf1e80cfa1437f9f08e124b0c6f1fbe247c.tar.lz gsoc2013-empathy-2d217cf1e80cfa1437f9f08e124b0c6f1fbe247c.tar.xz gsoc2013-empathy-2d217cf1e80cfa1437f9f08e124b0c6f1fbe247c.tar.zst gsoc2013-empathy-2d217cf1e80cfa1437f9f08e124b0c6f1fbe247c.zip |
Remove old Facebook code
Add a TODO for now.
Diffstat (limited to 'goa-mc-plugin')
-rw-r--r-- | goa-mc-plugin/mcp-account-manager-goa.c | 46 |
1 files changed, 4 insertions, 42 deletions
diff --git a/goa-mc-plugin/mcp-account-manager-goa.c b/goa-mc-plugin/mcp-account-manager-goa.c index 390e8f10d..a0a8b3f50 100644 --- a/goa-mc-plugin/mcp-account-manager-goa.c +++ b/goa-mc-plugin/mcp-account-manager-goa.c @@ -102,9 +102,6 @@ get_tp_parameters (GoaAccount *account) #define PARAM(key, value) g_hash_table_insert (params, key, g_strdup (value)); - // { "param-account", "chat.facebook.com" }, - // { "param-server", "chat.facebook.com" }, - if (!tp_strdiff (type, "google")) { PARAM ("manager", "gabble"); @@ -128,6 +125,8 @@ get_tp_parameters (GoaAccount *account) return NULL; } + /* TODO: add Facebook support */ + /* generic properties */ PARAM ("DisplayName", goa_account_get_presentation_identity (account)); PARAM ("ConnectAutomatically", "true"); @@ -373,33 +372,6 @@ mcp_account_manager_goa_set (const McpAccountStorage *self, /* Pretend we save everything so MC won't save this in accounts.cfg */ return TRUE; - // if (!tp_strdiff (acct, FACEBOOK_ACCOUNT_NAME)) - // { - // if (!tp_strdiff (key, "Enabled")) - // { - // gboolean enabled = !tp_strdiff (val, "true"); - - // DEBUG ("set Enabled to %s", enabled ? "enabled" : "disabled"); - - // gconf_client_set_bool (priv->gconf, BISHO_FB_GCONF_ENABLE_CHAT_KEY, - // enabled, &error); - // if (error != NULL) - // { - // g_warning ("Unable to save %s/Enable state in GConf: %s", - // acct, error->message); - // g_clear_error (&error); - // } - - // return TRUE; - // } - // else - // /* pretend we saved everything else */ - // return TRUE; - // } - // else - // { - // return FALSE; - // } } @@ -411,18 +383,8 @@ mcp_account_manager_goa_delete (const McpAccountStorage *self, { DEBUG ("%s: (%s, %s)", G_STRFUNC, acct, key); -// if (!tp_strdiff (acct, FACEBOOK_ACCOUNT_NAME)) -// { -// if (!tp_strdiff (key, "Enabled")) -// return TRUE; -// else -// /* pretend we deleted everything else */ -// return TRUE; -// } -// else -// { -// return FALSE; -// } + /* Pretend we deleted everything */ + return TRUE; } |