[gnome-terminal] Ignore /system/proxy/http/enabled



commit 4237b68aecd93cab28bb953b53e90c4fa338f513
Author: Dan Winship <danw gnome org>
Date:   Mon Jun 6 09:41:23 2011 -0400

    Ignore /system/proxy/http/enabled
    
    This key exists in the schema, but is not actually set by the control
    center. Instead, http proxying is enabled if the host and port are
    set, just like with the other protocols.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=651778

 src/terminal-util.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/terminal-util.c b/src/terminal-util.c
index 89db419..e36cba9 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -579,9 +579,6 @@ setup_proxy_env (GSettings  *proxy_settings,
 
   child_settings = g_settings_get_child (proxy_settings, child_schema_id);
 
-  if (is_http && !g_settings_get_boolean (child_settings, "enabled"))
-    goto out;
-
   g_settings_get (child_settings, "host", "&s", &host);
   port = g_settings_get_int (child_settings, "port");
   if (host[0] == '\0' || port == 0)



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