Treat unthemed icons the same as force_size for scaling

This is closer to what we were doing in the past.
This commit is contained in:
Matthias Clasen 2014-06-30 15:45:17 -04:00
parent d800203b88
commit bec3aa54e4

View File

@ -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)