1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-04 05:45:46 +01:00

Added (outcommented because too slow) 'numbertabs' option (by hrist).

This commit is contained in:
Martin Stubenschrott
2007-05-29 10:42:47 +00:00
parent 15b12af71a
commit efb43f3df7
2 changed files with 60 additions and 0 deletions

View File

@@ -329,6 +329,29 @@ var g_settings = [/*{{{*/
"",
null
]
// TODO: make more performant and then enable
/*,[
["numbertabs", "nt"],
["numbertabs", "nt"],
"Turns tab numbering on or off",
"If you want to see a number on each tab turn this on",
"boolean",
null,
function(value) { set_pref("numbertabs", value); set_tabnumbers(value); },
function() { return get_pref("numbertabs"); },
false,
null
],
function set_tabnumbers(value)
{
if(value==false)
vimperator.tabs.updateTitles(true);
vimperator.tabs.updateTitles(false);
}
*/
]/*}}}*/
// return null, if the cmd cannot be found in our g_settings array, or