Hi,

I found this snippet for my .conkeror.rc in this thread:
http://www.mail-archive.com/[email protected]/msg00952.html

// ############# Modeline-widget displaying the proxy settings ##########
function proxy_widget(window){
    this.name = "proxy-widget";
    text_widget.call(this, window);
    let that = this;
    let updater = function () { that.update(); };
    watch_pref("network.proxy.http", updater);
    watch_pref("network.proxy.http_port", updater);
    watch_pref("network.proxy.type", updater); 
}

proxy_widget.prototype.__proto__ = text_widget.prototype;

proxy_widget.prototype.update = function () {
    this.view.text = 
get_pref("network.proxy.http")+":"+get_pref("network.proxy.http_port");
};

add_hook("mode_line_hook", mode_line_adder(proxy_widget));
//=================================================================

Until recently, it displayed the proxy settings in use.

The last upgrade (Debian Testing) however somehow broke it and all my
effort to fix it failed miserably; the proxy settings are still set,
only the display in the modeline is not refreshed.

Any hint would be most appreciated.

conkeror: Version: 0.9.1-1
xulrunner: Version: 1.9.1.5-2



_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to