1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 03:44:10 +01:00

now we have a new build Makefile

also added file.js which is responsible for file writing/loading in future
This commit is contained in:
Martin Stubenschrott
2007-04-20 14:46:29 +00:00
parent 2244db0ecf
commit 43f25cee76
7 changed files with 263 additions and 28 deletions

View File

@@ -123,9 +123,13 @@ nsBrowserStatusHandler.prototype =
},
onLocationChange:function (aWebProgress, aRequest, aLocation)
{
UpdateBackForwardButtons();
// firefox 3.0 doesn't seem to have them anymore
if (UpdateBackForwardButtons)
UpdateBackForwardButtons();
var url = aLocation.spec;
gURLBar.value = url; // also update the original firefox location bar
if (gURLBar)
gURLBar.value = url; // also update the original firefox location bar
// onLocationChange is also called when switching/deleting tabs
if (hah.currentMode() != HINT_MODE_ALWAYS)
@@ -256,6 +260,10 @@ function init()
}
g_history.unshift([url, title]);
}
// also reset the buffer list, since the url titles are valid here
if (g_bufshow)
bufshow("", false);
}
, null);