mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
aa3c12c883
commit
cd7cb020b7
@ -963,16 +963,18 @@ module.FileSystemWriter = core.ImageGridFeatures.Feature({
|
||||
// - save as.. (browser)
|
||||
// - save if not base path present (browser)
|
||||
var FileSystemWriterUIActions = actions.Actions({
|
||||
// XXX should this ask the user for a path???
|
||||
// XXX this for some reason works differently than browseSaveIndex(..)
|
||||
// and saves images-diff instead of images...
|
||||
// XXX this needs feedback...
|
||||
saveIndexHere: ['File/Save',
|
||||
function(){
|
||||
if(this.location.path){
|
||||
this.saveIndex(this.location.path)
|
||||
}
|
||||
|
||||
} else {
|
||||
this.browseSaveIndex()
|
||||
}
|
||||
}],
|
||||
// XXX add ability to create dirs...
|
||||
// XXX this needs feedback...
|
||||
browseSaveIndex: ['File/Save index to...',
|
||||
makeBrowseProxy('saveIndex', function(){
|
||||
this.location.method = 'loadIndex' })],
|
||||
|
||||
@ -263,7 +263,8 @@ module.GLOBAL_KEYBOARD = {
|
||||
default: 'slideshowDialog',
|
||||
// XXX need to make this save to base_path if it exists and
|
||||
// ask the user if it does not... now it always asks.
|
||||
ctrl: 'browseSaveIndex',
|
||||
ctrl: 'saveIndexHere',
|
||||
'ctrl+shift': 'browseSaveIndex',
|
||||
},
|
||||
|
||||
// XXX still experimental...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user