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:
@ -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>
|
||||
|
||||
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;
|
||||
|
||||
|
Reference in New Issue
Block a user