diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 49e6d58de..ac9ae3bee 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -2038,17 +2038,10 @@ var AppIcon = class AppIcon { x_fill: true, y_fill: true }); - this._dot = new St.Widget({ style_class: 'app-well-app-running-dot', - layout_manager: new Clutter.BinLayout(), - x_expand: true, y_expand: true, - x_align: Clutter.ActorAlign.CENTER, - y_align: Clutter.ActorAlign.END }); - this._iconContainer = new St.Widget({ layout_manager: new Clutter.BinLayout(), x_expand: true, y_expand: true }); this.actor.set_child(this._iconContainer); - this._iconContainer.add_child(this._dot); this.actor._delegate = this; @@ -2065,6 +2058,16 @@ var AppIcon = class AppIcon { this.icon = new IconGrid.BaseIcon(app.get_name(), iconParams); this._iconContainer.add_child(this.icon); + this._dot = new St.Widget({ + style_class: 'app-well-app-running-dot', + layout_manager: new Clutter.BinLayout(), + x_expand: true, + y_expand: true, + x_align: Clutter.ActorAlign.CENTER, + y_align: Clutter.ActorAlign.END, + }); + this._iconContainer.add_child(this._dot); + this.actor.label_actor = this.icon.label; this.actor.connect('leave-event', this._onLeaveEvent.bind(this));