From fdc99e22736abacfbd017dec1ff1fc94b633ee90 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Tue, 24 Jan 2017 22:32:01 +0300 Subject: libslab: force the icon size If an icon only provides some huge sizes, not doing that breaks the layout. --- libslab/mate-utils.c | 1 + 1 file changed, 1 insertion(+) 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)) { -- cgit v1.2.1