mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
tweaks to menues...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a948275934
commit
cc1c81747a
@ -430,12 +430,6 @@ var BrowserHostActions = actions.Actions({
|
||||
copy: ['Image|Edit/Copy image',
|
||||
core.doc`Copy image
|
||||
|
||||
Copy current image (original ref)...
|
||||
.copy()
|
||||
|
||||
Copy best matching preview of current image...
|
||||
.copy(size)
|
||||
|
||||
NOTE: this must be called from within an event handler...
|
||||
NOTE: this will not work with file:// paths...
|
||||
`,
|
||||
|
||||
@ -43,7 +43,6 @@ core.ImageGridFeatures.Feature('imagegrid-ui-minimal', [
|
||||
'keyboard',
|
||||
'ui-cursor',
|
||||
'ui-control',
|
||||
//'ui-copy-image',
|
||||
'ui-drag-n-drop',
|
||||
|
||||
// XXX use one...
|
||||
|
||||
@ -2199,6 +2199,7 @@ var BrowseActionsActions = actions.Actions({
|
||||
'99:$Edit',
|
||||
'Edit/90:Undo',
|
||||
'Edit/90:Redo',
|
||||
'Edit/85:$Copy image',
|
||||
'Edit/85:.*copy.*',
|
||||
'Edit/85:.*paste.*',
|
||||
'Edit/85:.*base.*',
|
||||
@ -2214,8 +2215,9 @@ var BrowseActionsActions = actions.Actions({
|
||||
'Navigate/80:.*screen.*',
|
||||
'Navigate/70:.*ribbon.*',
|
||||
'$Image',
|
||||
'Image/98:.*copy.*',
|
||||
'Image/98:.*paste.*',
|
||||
'Image/99:$Copy image',
|
||||
'Image/99:.*copy.*',
|
||||
'Image/99:.*paste.*',
|
||||
'Image/98:.*editor.*',
|
||||
'Image/98:.*folder.*',
|
||||
'Image/95:.*metadata.*',
|
||||
|
||||
@ -1165,12 +1165,21 @@ module.CopyImiage = core.ImageGridFeatures.Feature({
|
||||
|
||||
actions: actions.Actions({
|
||||
// XXX mark copied image(s)...
|
||||
copy: ['- Image|Edit/Copy image',
|
||||
copy: ['- Image|Edit/$Copy image',
|
||||
core.doc`Copy image
|
||||
|
||||
Copy current image...
|
||||
.copy()
|
||||
|
||||
Copy best matching preview of current image...
|
||||
.copy(size)
|
||||
|
||||
`,
|
||||
function(size){
|
||||
// XXX
|
||||
}],
|
||||
// XXX if pasted image(s) is the one(s) marked by copy, do a shift action...
|
||||
paste: ['- Image|Edit/Paste image',
|
||||
paste: ['- Image|Edit/$Paste image',
|
||||
function(){
|
||||
// XXX
|
||||
}],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user