cleanup document option to cleanup unused swatches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
insaner |
Bug Description
given the current (r12319) implementation of swatches, a user (such as myself) might end up with a barrage of duplicate unused swatches, so cleaning these up with a "document cleanup" (used to be vacuum defs) would be really useful. this was removed in 9551 (cf bug #594445 ), and for good reason (you dont always want to remove all your unused swatches). so i went ahead and created a patch to have an option to allow for a cleanup of the swatches, even during a single instance of editing a doc (ie, you dont have to restart inkscape to do it.. you can just enable it, cleanup, and then disable it again).
it stores the option in the preferences.xml file and has a default value of "do not cleanup swatches" (ie, "false")
please test the patch and let me know what you think
Related branches
Changed in inkscape: | |
assignee: | nobody → insaner (insaner) |
importance: | Undecided → Wishlist |
status: | New → In Progress |
tags: | added: color preferences |
Changed in inkscape: | |
milestone: | none → 0.49 |
status: | Fix Released → Fix Committed |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Option tested successfully on Windows XP, Inkscape trunk revision 12322.
I have a doubt on the option location in the preferences dialog, but can't find a better location for now.