1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-03 23:35:49 +01:00

Add 'titlestring' to Muttator.

This commit is contained in:
Doug Kearns
2009-07-15 17:59:57 +10:00
parent dbf017bf21
commit f57d0c05a9
5 changed files with 43 additions and 41 deletions

View File

@@ -37,7 +37,8 @@ const config = { //{{{
features: ["bookmarks", "hints", "marks", "history", "quickmarks", "session", "tabs", "windows", "player"],
defaults: {
guioptions: "mprb",
showtabline: 2
showtabline: 2,
titlestring: "Xulmus"
},
guioptions: {
@@ -374,21 +375,6 @@ const config = { //{{{
getter: function () !services.get("io").offline
});
// TODO: merge with Vimperator version and add Muttator version
// (TB handles this differently).
options.add(["titlestring"],
"Change the title of the window",
"string", "Xulmus",
{
setter: function (value)
{
document.documentElement.setAttribute("titlemodifier", value);
getBrowser().updateTitlebar();
return value;
}
});
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// COMPLETIONS /////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{