Re: [Gimp-developer] meta-data browser: EntryWidget + treemodel = chicken/egg problem
On 07/12/2009 03:12 PM, Roman Joost wrote: When I enter the first characters in the entry, the following happens: 1. the schema is set (row-changed signal is emitted) 2. the property *value* is set (another row-changed signal) That raises actually to a big problem, because when I populate two of my Entry widgets in the browser I get a pingpong going on between the Entries. Funny, but not usable. When a listener makes changes to a the thing it listens to, it typically will want to have g_signal_handlers_block_by_func()/g_signal_handlers_unblock_by_func() around the piece of code that does the change, and/or if (new_value == current_value) return; at the beginning of the callback to prevent the pingpong you are describing. Sometimes it's tricky to get this right. HTH, Martin ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Hacking GIMP - Gimp top level menu
Hi, Could someone tell me the location of this file? I found it way back when I originally asked the question, but I can't find it anymore. Thanks, Jordan On Tue, Jun 16, 2009 at 9:36 PM, David Gowers 00a...@gmail.com wrote: toolrc On Wed, Jun 17, 2009 at 11:00 AM, Jordan Stinsonjordan.stinso...@gmail.com wrote: Thanks for the quick response. It looks like this will get me closer to what i'm actually after. When I use this method to add the hue saturation tool to the toolbox, it persists after I close gimp and reopen it. Could anyone tell me what file it's saved to? ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Hacking GIMP - Gimp top level menu
On 07/13/2009 09:27 PM, Jordan Stinson wrote: Hi, Could someone tell me the location of this file? Hi, Do you mean menus/image-menu.xml.in ? / Martin ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Hacking GIMP - Gimp top level menu
Hi, I meant toolrc. Sorry if that wasn't clear. Thanks, Jordan On Mon, Jul 13, 2009 at 3:35 PM, Martin Nordholts ense...@gmail.com wrote: On 07/13/2009 09:27 PM, Jordan Stinson wrote: Hi, Could someone tell me the location of this file? Hi, Do you mean menus/image-menu.xml.in ? / Martin ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer