1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 19:07:58 +01:00

merge update statusline on browser start

This commit is contained in:
Doug Kearns
2007-10-18 03:46:08 +00:00
parent 4104006cf1
commit 39e31084d4
2 changed files with 11 additions and 0 deletions

View File

@@ -1069,6 +1069,16 @@ function StatusLine() //{{{
status_bar.setAttribute("class", "chromeclass-status " + highlight_group); status_bar.setAttribute("class", "chromeclass-status " + highlight_group);
}; };
// update all fields of the statusline
this.update = function()
{
this.updateUrl();
this.updateInputBuffer();
this.updateProgress();
this.updateTabCount();
this.updateBufferPosition();
}
// if "url" is ommited, build a usable string for the URL // if "url" is ommited, build a usable string for the URL
this.updateUrl = function(url) this.updateUrl = function(url)
{ {

View File

@@ -870,6 +870,7 @@ const vimperator = (function() //{{{
} }
}, 50); }, 50);
vimperator.statusline.update();
vimperator.log("Vimperator fully initialized", 1); vimperator.log("Vimperator fully initialized", 1);
}, },