Re: Hacking GIMP - Gimp top level menu

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

 



Hi,
I'm trying (for starters) to make the hue saturation tool visible in the toolbox. I noticed that all tools are registered in the gimp_tools_register function. In the function a tool info structure is created for each tool and the tool info visible property is set to true if tool is an image map tool type. I tried hacking this to set the hue saturation tool info object to be visible. All well and good, I thought. But when the toolbox is populated in the tool_box_create tools function, the visible property is set back to false. I set a memory breakpoint using gdb and it looks like there's a plug in that's setting the visible property back to false. So far, I haven't been able to figure out what plug in is doing this. Does anyone have any idea what plug in may be doing this or where I can find it?

Thanks,
Jordan


On Tue, Jun 2, 2009 at 2:46 PM, Martin Nordholts <enselic@xxxxxxxxx> wrote:
Jordan Stinson wrote:
Thanks for the tips. Just one quick question though. What do you mean by installing the <menu>.xml.in <http://xml.in> file? What's the difference between that file and the <menu>.xml file?

Look in menus/Makefile.am, *.xml.in is processed with xsltproc into *.xml. With "installing the menu.xml.in file" I really meant "installing the generated menu.xml" file. Sorry for being a bit unprecise ;)

/ Martin

_______________________________________________
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