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

many small fixes to the hints, and some minor mode handling changes

This commit is contained in:
Martin Stubenschrott
2007-10-25 19:57:49 +00:00
parent ecd70b31e8
commit faefb78c24
6 changed files with 200 additions and 141 deletions

View File

@@ -102,6 +102,10 @@ vimperator.modes = (function()
case vimperator.modes.HINTS:
vimperator.hints.hide();
break;
case vimperator.modes.COMMAND_LINE:
vimperator.commandline.close();
break;
}
if (newmode == vimperator.modes.NORMAL)
@@ -112,8 +116,7 @@ vimperator.modes = (function()
vimperator.options.setFirefoxPref("accessibility.browsewithcaret", false);
vimperator.statusline.updateUrl();
// XXX: auto-focusing breaks hints partly, find a good solution
vimperator.focusContent();
vimperator.focusContent(false);
}
}