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 -- Minimize'], 'minimize -- Minimize'],
'&#8601;': ['fullscreen', '&#8601;': ['fullscreen allways-shown',
'toggleFullScreen -- Toggle fullscreen'], 'toggleFullScreen -- Toggle fullscreen'],
'&times;': ['close', '&times;': ['close',
'close -- Quit'], 'close -- Quit'],

View File

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

View File

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