extensions-app: Add description tooltip to rows
... to allow showing the full description in case the label is ellipsized. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1663>
This commit is contained in:
parent
0aab90bb7f
commit
9fcbf3d0f9
@ -421,8 +421,9 @@ var ExtensionRow = GObject.registerClass({
|
||||
|
||||
this._nameLabel.label = this.name;
|
||||
|
||||
let desc = this._extension.metadata.description.split('\n')[0];
|
||||
const desc = this._extension.metadata.description.split('\n')[0];
|
||||
this._descriptionLabel.label = desc;
|
||||
this._descriptionLabel.tooltip_text = desc;
|
||||
|
||||
this._revealButton.connect('clicked', () => {
|
||||
this._revealer.reveal_child = !this._revealer.reveal_child;
|
||||
|
Loading…
Reference in New Issue
Block a user