1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-07 20:39:37 +00:00

dbus-manager: Bind encrypted property

This commit is contained in:
Evangelos Ribeiro Tzaras 2022-05-13 19:04:58 +02:00
parent be235189cc
commit 1a51ce0e40

View file

@ -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),