Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Set label_actor of menu items
Browse files Browse the repository at this point in the history
I've got no idea there this is actually being used, but I'll try to
closely mirror Shell code anyway.
  • Loading branch information
aleho committed May 28, 2021
1 parent 59f4486 commit 915e87a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions [email protected]/lib/widget/volume.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ const StreamSlider = class extends OutputStreamSliderExtension
this.item.firstLine.add_child(this._label);
}

this.item.label_actor = this._label;

if (!this._slider) {
this._slider = new Slider.VolumeSlider(0);
this.item.secondLine.add_child(this._slider);
Expand Down

0 comments on commit 915e87a

Please sign in to comment.