From b0b43d149471e3463fedaa0ba80e0c315c810ce0 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 14 Nov 2013 08:22:05 +0000 Subject: sharing: Fix Bluetooth label always being off https://bugzilla.gnome.org/show_bug.cgi?id=712252 --- diff --git a/panels/sharing/cc-sharing-panel.c b/panels/sharing/cc-sharing-panel.c index 586085d..a246654 100644 --- a/panels/sharing/cc-sharing-panel.c +++ b/panels/sharing/cc-sharing-panel.c @@ -384,6 +384,10 @@ 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 ("save-received-files-to-downloads-switch"), + WID ("bluetooth-sharing-status-label")); + cc_sharing_panel_bind_switch_to_widgets (WID ("save-received-files-to-downloads-switch"), WID ("receive-files-grid"), NULL); -- cgit v0.9.2