[gnome-shell] altTab: Use correct actor in label height computation
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] altTab: Use correct actor in label height computation
- Date: Tue, 5 Nov 2019 12:59:07 +0000 (UTC)
commit e4147f3611d97369db5722e876982316af2d7b76
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Nov 5 02:36:38 2019 +0100
altTab: Use correct actor in label height computation
Commit f2bd39b20 removed an intermediate bin, and now we use the
thumbnail bin instead of the label actor to compute the label
height, whoops.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/804
js/ui/altTab.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index 1c4a239984..c2d3760a2b 100644
--- a/js/ui/altTab.js
+++ b/js/ui/altTab.js
@@ -899,7 +899,7 @@ class ThumbnailList extends SwitcherPopup.SwitcherList {
// St.Label doesn't support text-align
x_align: Clutter.ActorAlign.CENTER,
});
- this._labels.push(bin);
+ this._labels.push(name);
box.add_actor(name);
this.addItem(box, name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]