Revert "st: Reload icon on style changes only if necessary"

The size isn't the only relevant style change, we also need to pick
up icon-colors, icon-style and icon-shadow.

This reverts commit 94995e9c1e.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/529
This commit is contained in:
Florian Müllner 2019-05-03 21:24:43 +00:00 committed by Florian Müllner
parent d9bfa16f05
commit 598407b14a

View File

@ -206,7 +206,7 @@ st_icon_style_changed (StWidget *widget)
} }
priv->theme_icon_size = (int)(0.5 + st_theme_node_get_length (theme_node, "icon-size")); priv->theme_icon_size = (int)(0.5 + st_theme_node_get_length (theme_node, "icon-size"));
if (st_icon_update_icon_size (self)) st_icon_update_icon_size (self);
st_icon_update (self); st_icon_update (self);
} }