From: Daniel Carl Date: Tue, 27 Aug 2013 13:57:45 +0000 (+0200) Subject: Revert "Show if the proxy could not be set." X-Git-Url: https://git.owens.tech/editable-focus.html/editable-focus.html/git?a=commitdiff_plain;h=6ab7ecfc5c8c5aa238d45421382aeab5018604a5;p=vimb.git Revert "Show if the proxy could not be set." This reverts commit 87c48feca23acf755558ef8bb766eff3582a40da. This causes irritating error messages on startup, because we have enabled proxy by default. So every time a new window is opened we get the error message that the proxy could not be set, because of a none set environment variable. If the user adds 'set proxy=off' to his config file would not cause vimb from throwing this error, because the default config is processed before the users config and the error has already be thrown. At the moment I think, this error message isn't required so we can remove it. --- diff --git a/src/setting.c b/src/setting.c index 11d6cd7..1d7f97b 100644 --- a/src/setting.c +++ b/src/setting.c @@ -633,9 +633,6 @@ static gboolean proxy(const Setting *s, const SettingType type) soup_uri_free(proxy_uri); g_free(proxy_new); - } else { - /* inform the customer that the proxy could not be set */ - return false; } } else { g_object_set(vb.session, "proxy-uri", NULL, NULL);