[Xfce4-commits] <thunar:master> Also constrain the size of themed preview icons.

Nick Schermer noreply at xfce.org
Tue Oct 30 22:06:11 CET 2012


Updating branch refs/heads/master
         to 2d8c5db66116b8e72dacdf222fd2c1df65cac330 (commit)
       from fbf1a04ea185bda503a85e1c03e4dc4dfd97bc90 (commit)

commit 2d8c5db66116b8e72dacdf222fd2c1df65cac330
Author: Nick Schermer <nick at xfce.org>
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)


More information about the Xfce4-commits mailing list