diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 8f600a439..9844baf2e 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -22,6 +22,7 @@ const SLIDER_SCROLL_STEP = 0.05; /* Slider scrolling step in % */ const Ornament = { NONE: 0, DOT: 1, + CHECK: 2, }; function _ensureStyle(actor) { @@ -192,6 +193,9 @@ const PopupBaseMenuItem = new Lang.Class({ if (ornament == Ornament.DOT) { this._ornamentLabel.text = '\u2022'; this.actor.add_accessible_state(Atk.StateType.CHECKED); + } else if (ornament == Ornament.CHECK) { + this._ornamentLabel.text = '\u2713'; + this.actor.add_accessible_state(Atk.StateType.CHECKED); } else if (ornament == Ornament.NONE) { this._ornamentLabel.text = ''; this.actor.remove_accessible_state(Atk.StateType.CHECKED);