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

set when opening a new image.


--Sven
This commit is contained in:
Sven Neumann
1999-03-06 02:07:54 +00:00
parent 2252863eb6
commit becf5e1faa
4 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,8 @@
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> 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 This is a bit of a biggy. Added paths to layers & channels

View File

@ -131,6 +131,9 @@ gdisplay_new (GimpImage *gimage,
create_display_shell (gdisp, gimage->width, gimage->height, create_display_shell (gdisp, gimage->width, gimage->height,
title, gimage_base_type (gimage)); 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 */ /* set the gdisplay colormap type and install the appropriate colormap */
gdisp->color_type = (gimage_base_type (gimage) == GRAY) ? GRAY : RGB; gdisp->color_type = (gimage_base_type (gimage) == GRAY) ? GRAY : RGB;

View File

@ -131,6 +131,9 @@ gdisplay_new (GimpImage *gimage,
create_display_shell (gdisp, gimage->width, gimage->height, create_display_shell (gdisp, gimage->width, gimage->height,
title, gimage_base_type (gimage)); 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 */ /* set the gdisplay colormap type and install the appropriate colormap */
gdisp->color_type = (gimage_base_type (gimage) == GRAY) ? GRAY : RGB; gdisp->color_type = (gimage_base_type (gimage) == GRAY) ? GRAY : RGB;

View File

@ -131,6 +131,9 @@ gdisplay_new (GimpImage *gimage,
create_display_shell (gdisp, gimage->width, gimage->height, create_display_shell (gdisp, gimage->width, gimage->height,
title, gimage_base_type (gimage)); 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 */ /* set the gdisplay colormap type and install the appropriate colormap */
gdisp->color_type = (gimage_base_type (gimage) == GRAY) ? GRAY : RGB; gdisp->color_type = (gimage_base_type (gimage) == GRAY) ? GRAY : RGB;