
On Fri, 2008-04-18 at 10:46 +0200, Marcin Floryan wrote:
On Fri, Apr 18, 2008 at 12:41:14AM -0300, bulia byak wrote:
While the "Live preview" checkbox is useful for most effects, for some it just does not make sense. Now, you can add the attribute needs-live-preview="false" in the effect element in the .inx file of the effect to suppress this checkbox for your effect.
Cool. Added to the new Schema (RelaxNG) for the inx files (still work in progress, but almost there).
Great!
BTW. While on the subject, I was thinking, would it make sense to alter the structure a bit in terms of the menu. Currently we have:
<effects-menu>
and for help items there is
<effects-menu hidden="true">
Should we perhaps make it a bit more generic to put
<menu name="effects"> <sub-menu _name="..."> </menu>
So for the help extensions we might do
<menu name="help">
I guess when I did this originally my thought process was that it would only be used for those extensions that go under the Effects menu. The reason for this was so that extensions that were external to Inkscape, they'd show up somewhere that you can expect them. For effects that are included with Inkscape we can use the standard menu definition (in menu.xml you can put any effect ID to add it) and the keybinding definition (same with your hotkeys, you can grab extensions that way too).
So, while I'm not hard set on the syntax that we have, I'd like to take any changes into account through that filter.
--Ted