diff options
author | Alexei Sorokin <[email protected]> | 2017-01-24 22:32:01 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-01-26 15:56:05 +0300 |
commit | fdc99e22736abacfbd017dec1ff1fc94b633ee90 (patch) | |
tree | 5c66ba442ba31179a046e84777637e0714f33a68 | |
parent | e6b4fbeeab7f412fb656f76d6137ae00795e2b49 (diff) | |
download | mate-control-center-fdc99e22736abacfbd017dec1ff1fc94b633ee90.tar.bz2 mate-control-center-fdc99e22736abacfbd017dec1ff1fc94b633ee90.tar.xz |
libslab: force the icon size
If an icon only provides some huge sizes, not doing that breaks the layout.
-rw-r--r-- | libslab/mate-utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libslab/mate-utils.c b/libslab/mate-utils.c index 7eb31a05..505d5325 100644 --- a/libslab/mate-utils.c +++ b/libslab/mate-utils.c @@ -21,6 +21,7 @@ load_image_by_id (GtkImage * image, GtkIconSize size, const gchar * image_id) id = g_strdup (image_id); gtk_icon_size_lookup (size, &width, &height); + gtk_image_set_pixel_size (image, width); if (g_path_is_absolute (id)) { |