Re: problem (solved?) in gimp-plugin-template

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

 



Hi,

On Sat, 2007-11-10 at 04:59 +0000, Carlo Baldassi wrote:


> In fact, the call to gimp_domain_register() was already present in the
> gimp-plugin-template:
> 
> gimp_plugin_domain_register (PROCEDURE_NAME, LOCALEDIR);
> 
> It returns success, but the menu entry is not translated.
> I couldn't find any help from other plugins' sources because they
> don't register this way.

Does LOCALEDIR have the correct value? Are the translations actually
installed in the folder that it points to?

> Another problem I found is that the GIMP helpbrowser doesn't read the
> help files correctly
> (no problem when using firefox, though). The crash occurs in
> helpbrowser/dialog.c,
> inside the function browser_dialog_make_index_foreach(), at this
> point:
> 
> indices = g_strsplit (item->title, ".", -1); /* THIS CALL FAILS */
> 
> for (i = 0; i < 5; i++)
>     {
>       if (! indices[i])  /* CRASH HERE */
>         break;
> 
>       item->index += atoi (indices[i]) << (8 * (5 - i));
>     }
> 
> and that's because item->title is NULL.

I've fixed that last night; the fix will be in GIMP 2.4.2.

> Thus, it seems that I need to register a title somehow

Your HTML help page needs to have a title, that's all.


Sven

> 

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[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