From 2d8c5db66116b8e72dacdf222fd2c1df65cac330 Mon Sep 17 00:00:00 2001 From: Nick Schermer <nick@xfce.org> Date: Tue, 30 Oct 2012 20:52:05 +0100 Subject: [PATCH] Also constrain the size of themed preview icons. --- thunar/thunar-icon-factory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thunar/thunar-icon-factory.c b/thunar/thunar-icon-factory.c index 87a241b27..ec12bfed5 100644 --- a/thunar/thunar-icon-factory.c +++ b/thunar/thunar-icon-factory.c @@ -806,7 +806,8 @@ thunar_icon_factory_load_file_icon (ThunarIconFactory *factory, icon_info = gtk_icon_theme_lookup_by_gicon (factory->icon_theme, gicon, icon_size, - GTK_ICON_LOOKUP_USE_BUILTIN); + GTK_ICON_LOOKUP_USE_BUILTIN + | GTK_ICON_LOOKUP_FORCE_SIZE); /* check if the lookup succeeded */ if (icon_info != NULL) -- GitLab