diff --git a/panels/sharing/cc-sharing-panel.c b/panels/sharing/cc-sharing-panel.c index a5498cbfd..586085d28 100644 --- a/panels/sharing/cc-sharing-panel.c +++ b/panels/sharing/cc-sharing-panel.c @@ -384,25 +384,11 @@ cc_sharing_panel_setup_bluetooth_sharing_dialog (CcSharingPanel *self) g_signal_connect_swapped (priv->bluetooth_killswitch, "state-changed", G_CALLBACK (bluetooth_state_changed), self); - cc_sharing_panel_bind_switch_to_label (self, - WID ("share-public-folder-switch"), - WID ("bluetooth-sharing-status-label")); - - cc_sharing_panel_bind_switch_to_widgets (WID ("share-public-folder-switch"), - WID ("only-share-trusted-devices-box"), - NULL); - cc_sharing_panel_bind_switch_to_widgets (WID ("save-received-files-to-downloads-switch"), WID ("receive-files-grid"), NULL); settings = g_settings_new (FILE_SHARING_SCHEMA_ID); - g_settings_bind (settings, "bluetooth-enabled", - WID ("share-public-folder-switch"), "active", - G_SETTINGS_BIND_DEFAULT); - g_settings_bind (settings, "bluetooth-require-pairing", - WID ("only-share-trusted-devices-switch"), "active", - G_SETTINGS_BIND_DEFAULT); g_settings_bind (settings, "bluetooth-obexpush-enabled", WID ("save-received-files-to-downloads-switch"), "active", G_SETTINGS_BIND_DEFAULT); diff --git a/panels/sharing/sharing.ui b/panels/sharing/sharing.ui index 4f5b46da7..277e90f30 100644 --- a/panels/sharing/sharing.ui +++ b/panels/sharing/sharing.ui @@ -64,37 +64,6 @@ 1 - - - True - True - - - 1 - 1 - 1 - 1 - - - - - True - False - start - True - Share Public Folder - share-public-folder-switch - - - - - - 0 - 1 - 1 - 1 - - True @@ -129,7 +98,7 @@ 0 - 4 + 2 2 1 @@ -147,7 +116,7 @@ 0 - 3 + 1 1 1 @@ -156,53 +125,15 @@ True True + end 1 - 3 + 1 1 1 - - - True - False - 6 - - - True - False - start - True - Only share with Trusted Devices - only-share-trusted-devices-switch - - - False - True - 0 - - - - - True - True - - - False - True - 1 - - - - - 0 - 2 - 2 - 1 - - False