[gnome-control-center] sharing: Fix Bluetooth label always being off



commit b0b43d149471e3463fedaa0ba80e0c315c810ce0
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Nov 14 09:22:05 2013 +0100

    sharing: Fix Bluetooth label always being off
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712252

 panels/sharing/cc-sharing-panel.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]