mirror of https://github.com/GNOME/gimp.git
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:
parent
d35d324b26
commit
fbf9e32ec5
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue