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:
@@ -1069,6 +1069,16 @@ function StatusLine() //{{{
|
||||
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
|
||||
this.updateUrl = function(url)
|
||||
{
|
||||
|
||||
@@ -870,6 +870,7 @@ const vimperator = (function() //{{{
|
||||
}
|
||||
}, 50);
|
||||
|
||||
vimperator.statusline.update();
|
||||
vimperator.log("Vimperator fully initialized", 1);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user