dbus-manager: Bind encrypted property
This commit is contained in:
@@ -260,6 +260,7 @@ call_added_cb (CallsDBusManager *self, CuiCall *call)
|
||||
g_object_bind_property (call, "id", iface, "id", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (call, "display-name", iface, "display-name", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (call, "protocol", iface, "protocol", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (call, "encrypted", iface, "encrypted", G_BINDING_SYNC_CREATE);
|
||||
g_object_set (iface, "can-dtmf", cui_call_get_can_dtmf (call), NULL);
|
||||
|
||||
g_object_bind_property_full (call, "avatar-icon",
|
||||
@@ -268,9 +269,6 @@ call_added_cb (CallsDBusManager *self, CuiCall *call)
|
||||
avatar_loadable_icon_transform_to_image_path,
|
||||
NULL, NULL, NULL);
|
||||
|
||||
/* TODO: once calls supports encryption */
|
||||
calls_dbus_calls_call_set_encrypted (iface, FALSE);
|
||||
|
||||
g_signal_connect (call,
|
||||
"notify::ui-active",
|
||||
G_CALLBACK (on_notify_update_hints),
|
||||
|
||||
Reference in New Issue
Block a user