Commit becf5e1f authored by Sven Neumann's avatar Sven Neumann
Browse files

Fix the bug people reported on the list. The title should now be correctly

set when opening a new image.


--Sven
parent 2252863e
Sat Mar 6 03:04:31 MET 1999 Sven Neumann <sven@gimp.org>
* app/gdisplay.c: correctly initialize the zoom indicator
in the title and the statusbar
Fri Mar 5 21:45:39 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>
This is a bit of a biggy. Added paths to layers & channels
......
......@@ -130,7 +130,10 @@ gdisplay_new (GimpImage *gimage,
/* create the shell for the image */
create_display_shell (gdisp, gimage->width, gimage->height,
title, gimage_base_type (gimage));
/* update the title to correct the initially displayed scale */
gdisplay_update_title (gdisp);
/* set the gdisplay colormap type and install the appropriate colormap */
gdisp->color_type = (gimage_base_type (gimage) == GRAY) ? GRAY : RGB;
......
......@@ -130,7 +130,10 @@ gdisplay_new (GimpImage *gimage,
/* create the shell for the image */
create_display_shell (gdisp, gimage->width, gimage->height,
title, gimage_base_type (gimage));
/* update the title to correct the initially displayed scale */
gdisplay_update_title (gdisp);
/* set the gdisplay colormap type and install the appropriate colormap */
gdisp->color_type = (gimage_base_type (gimage) == GRAY) ? GRAY : RGB;
......
......@@ -130,7 +130,10 @@ gdisplay_new (GimpImage *gimage,
/* create the shell for the image */
create_display_shell (gdisp, gimage->width, gimage->height,
title, gimage_base_type (gimage));
/* update the title to correct the initially displayed scale */
gdisplay_update_title (gdisp);
/* set the gdisplay colormap type and install the appropriate colormap */
gdisp->color_type = (gimage_base_type (gimage) == GRAY) ? GRAY : RGB;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment