[gnome-control-center] network: Explicitly unset 'use-same-proxy' as there's no UI for that



commit d62e0da9db27fae814528bc92f982af5c2e8b9d5
Author: Richard Hughes <richard hughsie com>
Date:   Thu Sep 1 14:29:46 2011 +0100

    network: Explicitly unset 'use-same-proxy' as there's no UI for that
    
    This fixes proxy selection for people that have upgraded from GNOME 2.
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=657235

 panels/network/cc-network-panel.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 97621bf..dbc4041 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -3165,6 +3165,12 @@ cc_network_panel_init (CcNetworkPanel *panel)
                           G_CALLBACK (panel_settings_changed),
                           panel);
 
+        /* explicitly set this to false as the panel has no way of
+         * linking the http and https proxies them together */
+        g_settings_set_boolean (panel->priv->proxy_settings,
+                                "use-same-proxy",
+                                FALSE);
+
         /* actions */
         value = g_settings_get_enum (panel->priv->proxy_settings, "mode");
         widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder,



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