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:
parent
d9bfa16f05
commit
598407b14a
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user