mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
more menu cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
862de7ecbf
commit
0d0074e0ff
@ -124,6 +124,7 @@ var NWHostActions = actions.Actions({
|
|||||||
// XXX add ability to use devtools on background page (node context)...
|
// XXX add ability to use devtools on background page (node context)...
|
||||||
// XXX get the devtools stage...
|
// XXX get the devtools stage...
|
||||||
showDevTools: ['Interface|Development/Show Dev Tools',
|
showDevTools: ['Interface|Development/Show Dev Tools',
|
||||||
|
{browseMode: 'toggleBrowseActionKeys'},
|
||||||
function(action){
|
function(action){
|
||||||
if(action == '?'){
|
if(action == '?'){
|
||||||
// XXX get the devtools stage...
|
// XXX get the devtools stage...
|
||||||
@ -144,6 +145,7 @@ var NWHostActions = actions.Actions({
|
|||||||
}],
|
}],
|
||||||
|
|
||||||
toggleSplashScreen: ['Interface/',
|
toggleSplashScreen: ['Interface/',
|
||||||
|
{browseMode: 'toggleBrowseActionKeys'},
|
||||||
function(){
|
function(){
|
||||||
}],
|
}],
|
||||||
})
|
})
|
||||||
@ -244,6 +246,7 @@ var ElectronHostActions = actions.Actions({
|
|||||||
|
|
||||||
// XXX should this be a toggler???
|
// XXX should this be a toggler???
|
||||||
showDevTools: ['Interface|Development/Show Dev Tools',
|
showDevTools: ['Interface|Development/Show Dev Tools',
|
||||||
|
{browseMode: 'toggleBrowseActionKeys'},
|
||||||
function(action){
|
function(action){
|
||||||
var w = electron.remote.getCurrentWindow()
|
var w = electron.remote.getCurrentWindow()
|
||||||
|
|
||||||
@ -274,6 +277,7 @@ var ElectronHostActions = actions.Actions({
|
|||||||
|
|
||||||
// XXX make this a real toggler...
|
// XXX make this a real toggler...
|
||||||
toggleSplashScreen: ['Interface/',
|
toggleSplashScreen: ['Interface/',
|
||||||
|
{browseMode: 'toggleBrowseActionKeys'},
|
||||||
function(action){
|
function(action){
|
||||||
var splash = this.splash = (!this.splash || this.splash.isDestroyed()) ?
|
var splash = this.splash = (!this.splash || this.splash.isDestroyed()) ?
|
||||||
electron.remote.getGlobal('splash')
|
electron.remote.getGlobal('splash')
|
||||||
@ -514,6 +518,7 @@ var WindowedAppControlActions = actions.Actions({
|
|||||||
}],
|
}],
|
||||||
|
|
||||||
toggleSplashScreenShowing: ['Interface/Splash screen on start',
|
toggleSplashScreenShowing: ['Interface/Splash screen on start',
|
||||||
|
{browseMode: 'toggleBrowseActionKeys'},
|
||||||
core.makeConfigToggler('show-splash-screen',
|
core.makeConfigToggler('show-splash-screen',
|
||||||
['on', 'off'],
|
['on', 'off'],
|
||||||
function(action){
|
function(action){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user