reverted last change. It's not helpful to use different strings for the
2009-02-02 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell-title.c: reverted last change. It's not helpful to use different strings for the same information and space is not crucial in the window title. svn path=/trunk/; revision=27979
This commit is contained in:
committed by
Sven Neumann
parent
9e8b47b5d4
commit
b853a9bccb
@ -124,13 +124,12 @@ gimp_display_shell_update_title_idle (gpointer data)
|
||||
static const gchar *
|
||||
gimp_display_shell_title_image_type (GimpImage *image)
|
||||
{
|
||||
switch (gimp_image_base_type (image))
|
||||
{
|
||||
case GIMP_RGB: return _("RGB");
|
||||
case GIMP_GRAY: return _("grayscale");
|
||||
case GIMP_INDEXED: return _("indexed");
|
||||
default: return "unknown";
|
||||
}
|
||||
const gchar *name = "";
|
||||
|
||||
gimp_enum_get_value (GIMP_TYPE_IMAGE_BASE_TYPE,
|
||||
gimp_image_base_type (image), NULL, NULL, &name, NULL);
|
||||
|
||||
return name;
|
||||
}
|
||||
|
||||
static gint print (gchar *buf,
|
||||
|
||||
Reference in New Issue
Block a user