From 9fcbf3d0f928a4ed818928bea639d517dcc5a49b Mon Sep 17 00:00:00 2001 From: Leleat Date: Wed, 10 Feb 2021 02:18:19 +0100 Subject: [PATCH] extensions-app: Add description tooltip to rows ... to allow showing the full description in case the label is ellipsized. Part-of: --- subprojects/extensions-app/js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/extensions-app/js/main.js b/subprojects/extensions-app/js/main.js index 624318197..5b5a6e403 100644 --- a/subprojects/extensions-app/js/main.js +++ b/subprojects/extensions-app/js/main.js @@ -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;