示例#1
0
 /// <summary>
 /// Saves the configuration for this plugin
 /// </summary>
 public override void SaveConfiguration()
 {
     if (configuration_widget == null)
     {
         return;
     }
     http_timeout_seconds = configuration_widget.HttpTimeout;
     proxy_url            = configuration_widget.ProxyUrl;
     use_proxy            = configuration_widget.UseProxy;
     HttpTimeoutEntry.Set(http_timeout_seconds.ToString());
     ProxyUrlEntry.Set(proxy_url);
     UseProxyEntry.Set(use_proxy.ToString());
 }
示例#2
0
 /// <summary>
 /// Saves the configuration for this plugin
 /// </summary>
 public override void SaveConfiguration()
 {
     if (configuration_widget == null)
     {
         return;
     }
     http_timeout_seconds = configuration_widget.HttpTimeout;
     credentials_password = configuration_widget.HttpPassword;
     credentials_username = configuration_widget.HttpUsername;
     proxy_url            = configuration_widget.ProxyUrl;
     use_credentials      = configuration_widget.UseCredentials;
     use_proxy            = configuration_widget.UseProxy;
     HttpTimeoutEntry.Set(http_timeout_seconds.ToString());
     HttpPasswordEntry.Set(credentials_password);
     HttpUsernameEntry.Set(credentials_username);
     ProxyUrlEntry.Set(proxy_url);
     UseCredentialsEntry.Set(use_credentials.ToString());
     UseProxyEntry.Set(use_proxy.ToString());
 }