darktable-org/darktable — pull request #53 by fgrollier (2012-09-21 11:54:29+00:00)
Title: Enable styles edition dialog

This PR finishes implementation of styles modification that was partly present in the code but commented out.

Allowed operations on styles are:
* renaming
* updating description
* deleting items from the list of modules

There's also a checkbox to do "duplication before applying changes"

Two things not directly related to style edition are also included:
* add a `scrolled_window` to styles list in lighttable mode
* remove the "advanced" checkbox from the styles dialog ([#8726](http://darktable.org/redmine/issues/8726)) — everybody I've talk to seem to agree on this.

There seem to be a lot of code duplication in `src/common/styles.c` regarding `dt_styles_create_from_style` versus `dt_styles_create_from_image`, but I was unable to minimize this without creating something really cumbersome. I'm obviously open to suggestions though.