get min/max size only for scalable icons

SVN revision: 48924
This commit is contained in:
Hannes Janetzek 2010-05-16 21:11:21 +00:00
parent 3ac99ef29b
commit 61df60e3bb
1 changed files with 1 additions and 1 deletions

View File

@ -1522,7 +1522,7 @@ efreet_icon_theme_directory_new(Efreet_Ini *ini, const char *name)
dir->size.max = dir->size.normal + val;
dir->size.min = dir->size.normal - val;
}
else
else if (dir->type == EFREET_ICON_SIZE_TYPE_SCALABLE)
{
val = efreet_ini_int_get(ini, "MinSize");
if (val < 0) dir->size.min = dir->size.normal;