fixed bug with app buttons and mark indicator...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-03-20 17:01:51 +03:00
parent 26a5a6ba43
commit acaf471f49
3 changed files with 4 additions and 5 deletions

View File

@ -559,7 +559,7 @@ var AppButtonsActions = actions.Actions({
{
'_': ['minimize',
'minimize -- Minimize'],
'&#8601;': ['fullscreen',
'&#8601;': ['fullscreen allways-shown',
'toggleFullScreen -- Toggle fullscreen'],
'&times;': ['close',
'close -- Quit'],

View File

@ -443,7 +443,7 @@ var StatusBarActions = actions.Actions({
if(typeof(item) == typeof('str')){
var type = item
item = $('<span>')
.addClass(type + 'ed '+ type)
.addClass(type + 'ed')
.attr('info', 'Image '
+(type == 'mark' ? 'selection' : 'bookmark')
+' status (click to toggle)')
@ -662,7 +662,7 @@ var StatusBarActions = actions.Actions({
}
var gid = this.current
var item = this.dom.find(`.state-indicator-container.global-info .${type}`)
var item = this.dom.find(`.state-indicator-container.global-info [type=${type}]`)
// blink the indicator...
item

View File

@ -1942,7 +1942,6 @@ module.ContextActionMenu = core.ImageGridFeatures.Feature({
.focusImage(gid)
.browseActions('/Image/')
}],
// XXX FireFox: get actual event...
['imageOuterBlockMenu.pre',
function(gid){
// only show image menu in ribbon mode...
@ -2039,7 +2038,7 @@ var ButtonsActions = actions.Actions({
},
'app-buttons': {
[SETTINGS_ICON]: ['ui-settings', [
[SETTINGS_ICON]: ['ui-settings allways-shown', [
'browseActions: "Interface/" -- Interface settings...',
'toggleSideButtons -- Toggle touch controls',
]],