mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 06:14:11 +01:00
Get rid of some 'config.name' checks in the common tree. These should all, ideally, go.
This commit is contained in:
@@ -115,6 +115,16 @@ const config = { //{{{
|
||||
function () { buffer.viewSelectionSource(); }]
|
||||
],
|
||||
|
||||
focusChange: function() {
|
||||
// Switch to -- PLAYER -- mode for Songbird Media Player.
|
||||
if (config.isPlayerWindow)
|
||||
liberator.mode = modes.PLAYER;
|
||||
else
|
||||
liberator.mode = modes.NORMAL;
|
||||
},
|
||||
|
||||
hasTabbrowser: true,
|
||||
|
||||
//TODO : Write intro.html and tutorial.html
|
||||
// they are sorted by relevance, not alphabetically
|
||||
//helpFiles: [ "intro.html" ],
|
||||
@@ -126,12 +136,20 @@ const config = { //{{{
|
||||
"various.html", "index.html", "version.html"
|
||||
], */
|
||||
|
||||
optionDefaults: {
|
||||
stal: 0,
|
||||
},
|
||||
|
||||
scripts: [
|
||||
"bookmarks.js",
|
||||
"tabs.js",
|
||||
"player.js",
|
||||
],
|
||||
|
||||
stop: function() {
|
||||
getBrowser().mCurrentBrowser.stop();
|
||||
},
|
||||
|
||||
init: function ()
|
||||
{
|
||||
//Adding a mode for Player
|
||||
|
||||
Reference in New Issue
Block a user