summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-07-06 18:40:13 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-07-06 19:28:03 +0100
commit04763e4bc8ed32c208c75209b66221ab46290005 (patch)
treed57516c6c853f65591f15a079f323aebb73bb8a1 /src
parent51ddcba7fde8c2f9db5cd01930652318093c0032 (diff)
Set the DBus_Property flag on DecloakAutomatically
Without this, MC won't update the property on running connections. Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/protocol.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/protocol.c b/src/protocol.c
index a1b98c1d..1fb83585 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -149,7 +149,9 @@ static TpCMParamSpec jabber_params[] = {
{ GABBLE_PROP_CONNECTION_INTERFACE_GABBLE_DECLOAK_DECLOAK_AUTOMATICALLY,
DBUS_TYPE_BOOLEAN_AS_STRING, G_TYPE_BOOLEAN,
- TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT, GINT_TO_POINTER (FALSE),
+ TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT |
+ TP_CONN_MGR_PARAM_FLAG_DBUS_PROPERTY,
+ GINT_TO_POINTER (FALSE),
0 /* unused */, NULL, NULL },
{ "fallback-servers", "as", 0,