preview_size_to_str() uses the new set of preview sizes now.

1999-10-16  Michael Natterer  <mitch@gimp.org>

	* app/gimprc.c: preview_size_to_str() uses the new set of preview
	sizes now.
This commit is contained in:
Michael Natterer 1999-10-16 13:33:42 +00:00 committed by Michael Natterer
parent d35d324b26
commit fbf9e32ec5
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1999-10-16 Michael Natterer <mitch@gimp.org>
* app/gimprc.c: preview_size_to_str() uses the new set of preview
sizes now.
1999-10-16 Michael Natterer <mitch@gimp.org>
* app/menus.c: made the "Dialogs" sub-menus of <Toolbox>/File and

View File

@ -2566,11 +2566,15 @@ preview_size_to_str (gpointer val1p,
gpointer val2p)
{
if (preview_size >= 128)
return g_strdup ("large");
return g_strdup ("huge");
else if (preview_size >= 64)
return g_strdup ("large");
else if (preview_size >= 48)
return g_strdup ("medium");
else if (preview_size >= 32)
return g_strdup ("small");
else if (preview_size >= 24)
return g_strdup ("tiny");
else
return g_strdup ("none");
}