mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
minor meny reorganizarion...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
828e13d9d1
commit
0add177ac2
@ -30,9 +30,9 @@ var AppControlActions = actions.Actions({
|
|||||||
},
|
},
|
||||||
|
|
||||||
// XXX revise these...
|
// XXX revise these...
|
||||||
close: ['File|Interface/Close viewer',
|
close: ['File|Window/Close viewer',
|
||||||
function(){ window.close() }],
|
function(){ window.close() }],
|
||||||
storeWindowGeometry: ['- Interface/Store window state',
|
storeWindowGeometry: ['- Window/Store window state',
|
||||||
function(){
|
function(){
|
||||||
// store window parameters (size, state)...
|
// store window parameters (size, state)...
|
||||||
var win = nw.Window.get()
|
var win = nw.Window.get()
|
||||||
@ -55,7 +55,7 @@ var AppControlActions = actions.Actions({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
restoreWindowGeometry: ['- Interface/Restore window state',
|
restoreWindowGeometry: ['- Window/Restore window state',
|
||||||
function(){
|
function(){
|
||||||
var that = this
|
var that = this
|
||||||
// or global.window.nwDispatcher.requireNwGui()
|
// or global.window.nwDispatcher.requireNwGui()
|
||||||
@ -109,11 +109,11 @@ var AppControlActions = actions.Actions({
|
|||||||
}, this.config['window-delay-initial-display'] || 0)
|
}, this.config['window-delay-initial-display'] || 0)
|
||||||
}],
|
}],
|
||||||
|
|
||||||
minimize: ['Interface/Minimize',
|
minimize: ['Window/Minimize',
|
||||||
function(){
|
function(){
|
||||||
nw.Window.get().minimize()
|
nw.Window.get().minimize()
|
||||||
}],
|
}],
|
||||||
toggleFullScreen: ['Interface/Toggle full screen mode',
|
toggleFullScreen: ['Window/Toggle full screen mode',
|
||||||
toggler.CSSClassToggler(
|
toggler.CSSClassToggler(
|
||||||
function(){ return document.body },
|
function(){ return document.body },
|
||||||
'.full-screen-mode',
|
'.full-screen-mode',
|
||||||
|
|||||||
@ -680,7 +680,7 @@ var DialogsActions = actions.Actions({
|
|||||||
})],
|
})],
|
||||||
|
|
||||||
|
|
||||||
listDialogs: ['Interface/Dialog list...',
|
listDialogs: ['Interface/Dialog/Dialog list...',
|
||||||
makeUIDialog(function(){
|
makeUIDialog(function(){
|
||||||
var actions = this
|
var actions = this
|
||||||
|
|
||||||
@ -812,7 +812,7 @@ var BrowseActionsActions = actions.Actions({
|
|||||||
// base order/priorities...
|
// base order/priorities...
|
||||||
//
|
//
|
||||||
// XXX can we do a deep search on '/' -- find any nested action???
|
// XXX can we do a deep search on '/' -- find any nested action???
|
||||||
browseActions: ['Interface/Actions...',
|
browseActions: ['Interface/Dialog/Actions...',
|
||||||
makeUIDialog(function(path){
|
makeUIDialog(function(path){
|
||||||
var actions = this
|
var actions = this
|
||||||
var priority = /^(-?[0-9]+)\s*:\s*/
|
var priority = /^(-?[0-9]+)\s*:\s*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user