Updating branch refs/heads/master
to 2d8c5db66116b8e72dacdf222fd2c1df65cac330 (commit)
from fbf1a04ea185bda503a85e1c03e4dc4dfd97bc90 (commit)
commit 2d8c5db66116b8e72dacdf222fd2c1df65cac330
Author: Nick Schermer <[email protected]>
Date: Tue Oct 30 20:52:05 2012 +0100
Also constrain the size of themed preview icons.
thunar/thunar-icon-factory.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/thunar/thunar-icon-factory.c b/thunar/thunar-icon-factory.c
index 87a241b..ec12bfe 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)
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits