From bec3aa54e44bf7041b4c604b7760b671ef85031f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 30 Jun 2014 15:45:17 -0400 Subject: [PATCH] Treat unthemed icons the same as force_size for scaling This is closer to what we were doing in the past. --- gtk/gtkicontheme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 1d2efd446a..ef07a845c2 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -3718,7 +3718,8 @@ icon_info_ensure_scale_and_pixbuf (GtkIconInfo *icon_info, * for the directory where the icon is; the image size doesn't * matter in that case. */ - if (icon_info->forced_size) + if (icon_info->forced_size || + icon_info->dir_type == ICON_THEME_DIR_UNTHEMED) icon_info->scale = -1; else if (icon_info->dir_type == ICON_THEME_DIR_FIXED || icon_info->dir_type == ICON_THEME_DIR_THRESHOLD)