Re: [Gimp-developer] 1.2 Bug Hunting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20 Jun 2001, at 10:27, Dave Neary wrote:
> Sven Neumann wrote:

> >  #51164  Default image comment not set correctly
> >  http://bugzilla.gnome.org/show_bug.cgi?id=51164
> >    I've added some comments on how one could be fixed to the report.
> >    Not sure what is the correct fix for this. Comments?
> 
> The default "Made with the GIMP" comment is hard coded into
> plug-ins/common/xbm.c - and presumably into the others too. It seems
> to me that the easiest solution would be to include gtkrc in the
> relevant plug-ins, and do a read on the gimprc when loading the
> plug-ins.

This is what I could find. I am not a programmer, however, and may be 
mistaken about which strings do get gettexted and which do not.

Made with ...

plug-ins/common/gtm.c

Created with ...

plug-ins/common/csource.c
plug-ins/common/jpeg.c
plug-ins/common/tiff.c

xbm.c, however, does seem to use gettext:

  INIT_I18N_UI();
  strncpy (xsvals.comment, _("Created with The GIMP"), MAX_COMMENT);

Also I noticed that when saving TIFFs, sometimes the 'hard coded' 
comment is used, sometimes the one I supplied in the preferences. The 
difference seems to be between images that I acquired from the 
Windows clipboard and images that I started with <File>/New. Is that 
at all possible? I will do some more testing.

(HTH)

-- 
branko collin
collin@xxxxxxxxx


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux