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

initial small changes, so muttator loads at least fully

This commit is contained in:
Martin Stubenschrott
2008-02-05 01:31:06 +00:00
parent 2777a8e09c
commit 286feedfc7
7 changed files with 638 additions and 17 deletions

View File

@@ -1141,18 +1141,22 @@ vimperator.StatusLine = function () //{{{
url = matches[1] + " [Help]";
}
var sh = getWebNavigation().sessionHistory;
var modified = "";
if (sh.index > 0)
modified += "+";
if (sh.index < sh.count -1)
modified += "-";
if (vimperator.bookmarks.isBookmarked(url))
modified += "\u2764"; // a heart symbol: ❤
//modified += "\u2665"; // a heart symbol: ♥
// when session information is available, add [+] when we can go backwards
if (vimperator.config.name == "Vimperator")
{
var sh = getWebNavigation().sessionHistory;
var modified = "";
if (sh.index > 0)
modified += "+";
if (sh.index < sh.count -1)
modified += "-";
if (vimperator.bookmarks.isBookmarked(url))
modified += "\u2764"; // a heart symbol: ❤
//modified += "\u2665"; // a heart symbol: ♥
if (modified)
url += " [" + modified + "]";
if (modified)
url += " [" + modified + "]";
}
urlWidget.value = url;
},