[gnome-control-center/wip/feborges/new-remote-desktop-dialog: 12/13] sharing/remote-desktop: Hook up to explicit enable setting
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/feborges/new-remote-desktop-dialog: 12/13] sharing/remote-desktop: Hook up to explicit enable setting
- Date: Sat, 26 Feb 2022 18:19:15 +0000 (UTC)
commit 06efa4906e751473959e4860ea3b128826be1df5
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Fri Feb 25 19:01:53 2022 +0100
sharing/remote-desktop: Hook up to explicit enable setting
Enabling the service isn't enough, one also needs to enable the relevant
backend.
panels/sharing/cc-sharing-panel.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/panels/sharing/cc-sharing-panel.c b/panels/sharing/cc-sharing-panel.c
index 8ec246722..19489a2ca 100644
--- a/panels/sharing/cc-sharing-panel.c
+++ b/panels/sharing/cc-sharing-panel.c
@@ -1325,6 +1325,11 @@ cc_sharing_panel_setup_remote_desktop_dialog (CcSharingPanel *self)
rdp_settings = g_settings_new (GNOME_REMOTE_DESKTOP_RDP_SCHEMA_ID);
+ g_settings_bind (rdp_settings,
+ "enable",
+ self->remote_desktop_switch,
+ "active",
+ G_SETTINGS_BIND_DEFAULT);
g_settings_bind (rdp_settings,
"view-only",
self->remote_control_checkbutton,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]