Skip to content

Commit

Permalink
sound applet: Fix alignment of icons in 'Launch player' submenu
Browse files Browse the repository at this point in the history
when a player is active.

Fixes linuxmint/mint21.2-beta#59
  • Loading branch information
mtwebster committed Jul 1, 2023
1 parent ae4523d commit 112d51a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,9 @@ class MediaPlayerLauncher extends PopupMenu.PopupBaseMenuItem {
this.label = new St.Label({ text: app.get_name() });
this.addActor(this.label);
this._icon = app.create_icon_texture(ICON_SIZE);
this.addActor(this._icon, { expand: false });
this._icon_bin = new St.Bin({ x_align: St.Align.END, child: this._icon });
this.addActor(this._icon_bin, { expand: true, span: -1, align: St.Align.END });

this.connect("activate", (event) => this._onActivate(event));
}

Expand Down

0 comments on commit 112d51a

Please sign in to comment.