[gnome-control-center] sharing: Fix crash when turning off Sharing



commit 70a4183168604b22f830a7541e3cdeb5479642f1
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Nov 14 23:46:00 2013 +0100

    sharing: Fix crash when turning off Sharing
    
    Another fallout from:
    05a4f6d3d9620782fa5d1a279ef84c11701247d1
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712338

 panels/sharing/cc-sharing-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/sharing/cc-sharing-panel.c b/panels/sharing/cc-sharing-panel.c
index 1782180..8947e80 100644
--- a/panels/sharing/cc-sharing-panel.c
+++ b/panels/sharing/cc-sharing-panel.c
@@ -100,7 +100,7 @@ cc_sharing_panel_master_switch_notify (GtkSwitch      *gtkswitch,
       gtk_switch_set_active (GTK_SWITCH (WID ("share-public-folder-on-network-switch")),
                              FALSE);
       gtk_switch_set_active (GTK_SWITCH (WID ("share-media-switch")), FALSE);
-      gtk_switch_set_active (GTK_SWITCH (WID ("share-public-folder-switch")),
+      gtk_switch_set_active (GTK_SWITCH (WID ("save-received-files-to-downloads-switch")),
                              FALSE);
     }
 


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