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
This commit is contained in:
Florian Müllner 2019-11-05 02:36:38 +01:00 committed by Carlos Garnacho
parent 6a42d77261
commit e4147f3611

View File

@ -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);