
On Tue, Feb 20, 2007 at 06:22:37PM -0400, bulia byak wrote:
On 2/20/07, Bryce Harrington <bryce@...961...> wrote:
(I needed to dynamically update the marker menus when selecting stock id's to ensure that if you select a stock id, it immediately shows up in the above-the-line markers in all three menus.) This will also eventually help solve a problem where if you have the fill-and-stroke dialog open when switching between two docs with custom markers, it doesn't update properly; I haven't fixed this, but just need to figure out how to hook in with the callback for "document selection changed".
This is the ACTIVATE_DESKTOP signal sent by the global Inkscape object. E.g. the clone tiler dialog listens to it.
Thanks, that did it. This problem is now solved.
I have also corrected a couple other remaining glitches, such as that if you have a modified instance of a stock marker, without changing the stock-id, then in the dropdown the stock marker is shown as the current selection, which wouldn't be correct. Now, the entry in the "recently used marker" list above the line is selected, as one would expect. I also found an issue that in this particular situation the unmodified stock marker's preview image in the cache would be used in place of the customized one, and fixed this by involving the use of uri's in the keys used for the cache.
Thanks for the fixes Bryce, and please don't forget to describe them at http://wiki.inkscape.org:8080/wiki/index.php/ReleaseNotes046 :)
Sure, done.
I believe this should resolve all of the known issues with the marker dropdowns in the fill-and-stroke dialog. Please give it a test and let me know if you can find any issues.
Bryce