cleanup, tweaking and added separators to .config['action-category-order']...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-12-30 04:24:38 +03:00
parent f1c4d558ea
commit ac81e26efe
3 changed files with 18 additions and 3 deletions

View File

@ -336,6 +336,13 @@
}
/* hide first/last separators... */
.browse-widget .list>hr.separator:first-child,
.browse-widget .list>hr.separator:last-child {
display: none;
}
/****************************************************** Cloud List ***/

View File

@ -873,7 +873,7 @@ module.CropActions = actions.Actions({
// crop...
//
crop: ['- Crop/Crop image list',
crop: ['Crop/Crop',
function(list, flatten){
list = list || this.data.getImages()

View File

@ -766,7 +766,10 @@ var BrowseActionsActions = actions.Actions({
'50:Crop',
'Crop/80:Crop marked images',
'Crop/80:Crop bookmarked images',
'Crop/70:Flatten',
// NOTE: we can also add separators here...
//'Crop/70:---',
'Crop/60:Crop',
'Crop/50:Flatten',
// ...
'Crop/-80:Uncrop and keep crop image order',
'Crop/-81:Uncrop all',
@ -775,7 +778,8 @@ var BrowseActionsActions = actions.Actions({
'-50:Interface',
'-60:Workspace',
'-70:System',
'-80:Development',
'-80:---',
'-90:Development',
'-90:Test',
],
@ -1109,6 +1113,10 @@ var BrowseActionsActions = actions.Actions({
|| (cur[key] != null
&& Object.keys(cur[key]).length > 0)){
make(text + '/')
// item: line...
} else if(text == '---'){
make(text)
}
})
}