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:
@@ -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 /////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////{{{
|
||||
|
||||
Reference in New Issue
Block a user