[gnome-shell/gnome-3-32] altTab: Fix a wrong variable name



commit f3680306b2b3dd96944a7b5a8953381c496626f9
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Thu Jun 20 21:09:37 2019 +0000

    altTab: Fix a wrong variable name
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/587
    
    
    (cherry picked from commit c67460a1e3b9103cbcd1adf175c03f2cbc37b4a2)

 js/ui/altTab.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index ad2c0ca7a..3c23d68e5 100644
--- a/js/ui/altTab.js
+++ b/js/ui/altTab.js
@@ -734,8 +734,8 @@ class AppSwitcher extends SwitcherPopup.SwitcherList {
 
         let iconPadding = themeNode.get_horizontal_padding();
         let iconBorder = themeNode.get_border_width(St.Side.LEFT) + 
themeNode.get_border_width(St.Side.RIGHT);
-        let [iconMinHeight, iconNaturalHeight] = this.icons[j].label.get_preferred_height(-1);
-        let iconSpacing = iconNaturalHeight + iconPadding + iconBorder;
+        let [, labelNaturalHeight] = this.icons[j].label.get_preferred_height(-1);
+        let iconSpacing = labelNaturalHeight + iconPadding + iconBorder;
         let totalSpacing = this._list.spacing * (this._items.length - 1);
 
         // We just assume the whole screen here due to weirdness happing with the passed width


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]