From 40fe63c81f5c4e7658da041afa3ae4dd3c3956da 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(+) (limited to 'libslab/mate-utils.c') 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