aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-08-31 22:04:30 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-09-06 13:37:08 +0800
commit08dedb8027eb3947b689ee7c99171406c8e82b47 (patch)
tree4b72d1e30f607d7658f438fe75f39622211687cd
parent2d217cf1e80cfa1437f9f08e124b0c6f1fbe247c (diff)
downloadgsoc2013-empathy-08dedb8027eb3947b689ee7c99171406c8e82b47.tar
gsoc2013-empathy-08dedb8027eb3947b689ee7c99171406c8e82b47.tar.gz
gsoc2013-empathy-08dedb8027eb3947b689ee7c99171406c8e82b47.tar.bz2
gsoc2013-empathy-08dedb8027eb3947b689ee7c99171406c8e82b47.tar.lz
gsoc2013-empathy-08dedb8027eb3947b689ee7c99171406c8e82b47.tar.xz
gsoc2013-empathy-08dedb8027eb3947b689ee7c99171406c8e82b47.tar.zst
gsoc2013-empathy-08dedb8027eb3947b689ee7c99171406c8e82b47.zip
set TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_ENABLED restriction
We can't change the 'Chat' switch on the GOA account so user will have to use GOA to enable/disable the TP account.
-rw-r--r--goa-mc-plugin/mcp-account-manager-goa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/goa-mc-plugin/mcp-account-manager-goa.c b/goa-mc-plugin/mcp-account-manager-goa.c
index a0a8b3f50..6f06f340d 100644
--- a/goa-mc-plugin/mcp-account-manager-goa.c
+++ b/goa-mc-plugin/mcp-account-manager-goa.c
@@ -413,7 +413,8 @@ mcp_account_manager_goa_get_restrictions (const McpAccountStorage *self,
const gchar *account)
{
return TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_PARAMETERS |
- TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_SERVICE;
+ TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_SERVICE |
+ TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_ENABLED;
}