[Gimp-developer] Problem with creating/compiling XMPModel which inherits from GObject

2009-07-16 Thread Roman Joost
Hi, I thought it would be handy, if my XMPModel which stores the XMP metadata could emit it's own signals if properties or schemas change. The model now inherits from GObject and but most of the data structure is unchanged: struct _XMPModel { GObject parent_instance;

Re: [Gimp-developer] Problem with creating/compiling XMPModel which inherits from GObject

2009-07-16 Thread Roman Joost
On Thu, Jul 16, 2009 at 04:26:41PM +1000, Roman Joost wrote: Hi, I thought it would be handy, if my XMPModel which stores the XMP metadata could emit it's own signals if properties or schemas change. The model now inherits from GObject and but most of the data structure is unchanged:

Re: [Gimp-developer] Switch language via menu

2009-07-16 Thread Martin Nordholts
On 07/16/2009 03:44 AM, Khoem Sokhem wrote: Hello list members, I just want to ask one question on how to switch langugage in Gimp via menu, It will be good if Gimp can switch language via menu like VLC, Pidgin. Any one know, will Gimp have this feature in the future? Thank in advance for

Re: [Gimp-developer] Problem with creating/compiling XMPModel which inherits from GObject

2009-07-16 Thread Martin Nordholts
On 07/16/2009 08:26 AM, Roman Joost wrote: Hi, I thought it would be handy, if my XMPModel which stores the XMP metadata could emit it's own signals if properties or schemas change. I'm just wondering what I'm doing wrong here. If there is more code needed, I could probably attach it to a bug

[Gimp-developer] file_jpeg_save in a c plugin

2009-07-16 Thread Javier R.
Hola, hi. I am trying to save an image as a jpeg file in a c-plugin. The problem is that I have not been able to use the file_jpeg_save function. Any help appreciated! Thanks! (code excerpt) // works! gimp_file_save(GIMP_RUN_INTERACTIVE, nimage,

Re: [Gimp-developer] file_jpeg_save in a c plugin

2009-07-16 Thread Martin Nordholts
On 07/16/2009 04:52 PM, Javier R. wrote: Hola, hi. I am trying to save an image as a jpeg file in a c-plugin. The problem is that I have not been able to use the file_jpeg_save function. There is no such function in the C plug-in API, but you can invoke the PDB function called

[Gimp-developer] file_jpeg_save in a c plugin

2009-07-16 Thread Javier R.
?Many thanks for your fast response, Martin! I'll check the documentation link that you propose and see if I can work this out. Muchas gracias de nuevo, Javier Ruiz There is no such function in the C plug-in API, but you can invoke the PDB function called file-jpeg-save with

[Gimp-developer] Plugin Development

2009-07-16 Thread Rob Antonishen
I have a (hopefully simple) question that I can not seem to find the answer for anywhere... When is it appropriate to write: - a script - a python plugin - a compiled plugin Specifically, If I have written a script and want better speed, should I write it as a python plugin, or as a C plugin?

Re: [Gimp-developer] Plugin Development

2009-07-16 Thread Martin Nordholts
On 07/16/2009 05:39 PM, Rob Antonishen wrote: I have a (hopefully simple) question that I can not seem to find the answer for anywhere... When is it appropriate to write: - a script - a python plugin - a compiled plugin Specifically, If I have written a script and want better speed,

Re: [Gimp-developer] Plugin Development

2009-07-16 Thread Rob Antonishen
On Thu, Jul 16, 2009 at 11:57 AM, Martin Nordholts wrote: On 07/16/2009 05:39 PM, Rob Antonishen wrote: Specifically, If I have written a script and want better speed, should I write it as a python plugin, or as a C plugin? The first thing you should do is to benchmark your current plug-in,

Re: [Gimp-developer] Switch language via menu

2009-07-16 Thread Sven Neumann
On Thu, 2009-07-16 at 10:55 +0200, Martin Nordholts wrote: I just want to ask one question on how to switch langugage in Gimp via menu, It will be good if Gimp can switch language via menu like VLC, Pidgin. Any one know, will Gimp have this feature in the future? Thank in advance for