Revert "Show if the proxy could not be set."
authorDaniel Carl <danielcarl@gmx.de>
Tue, 27 Aug 2013 13:57:45 +0000 (15:57 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 27 Aug 2013 13:57:45 +0000 (15:57 +0200)
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.

src/setting.c

index 11d6cd7..1d7f97b 100644 (file)
@@ -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);