minor cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-05-15 03:19:38 +03:00
parent be87c9831c
commit e8c59924e9
2 changed files with 10 additions and 4 deletions

View File

@ -50,7 +50,7 @@
/* title */
.content>*:before {
position: absolute;
content: attr(title);
content: attr(dialog-title);
bottom: 100%;

View File

@ -575,8 +575,11 @@ module.Dialogs = core.ImageGridFeatures.Feature({
if(res instanceof jQuery || (res instanceof widget.Widget)){
var elem = (res.dom || res)
!elem.attr('title') && elem.attr('title',
(this.getDoc(action)[action].shift() || action).split(/[\\\/]/g).pop())
!elem.attr('dialog-title')
&& elem.attr(
'dialog-title',
(this.getDoc(action)[action].shift() || action)
.split(/[\\\/]/g).pop())
}
}],
],
@ -587,15 +590,18 @@ module.Dialogs = core.ImageGridFeatures.Feature({
/*********************************************************************/
// NOTE: yes, this is a funny name ;)
//
// XXX should we also add a hide-path config feature???
var BrowseActionsActions = actions.Actions({
config: {
'action-category-order': [
'99:File',
// NOTE: we can order any sub-tree we want in the same
// manner as the root...
// XXX for some reason only one of the following works...
'File/-80:Clear viewer',
'File/-90:Close viewer',
// NOTE: non existing elements will not get drawn...
//'File/-99:moo',
'80:Edit',
'70:Navigate',
'60:Image',