PintaProject / Pinta

Simple GTK# Paint Program
http://www.pinta-project.com/
MIT License
1.74k stars 267 forks source link

Refactoring of all action handlers #831

Closed Lehonti closed 1 month ago

Lehonti commented 1 month ago

Originally, the idea was to change (or even get rid of) IActionHandler and the constructors of the actions, so that they don't depend on global context like PintaCore, but I think it would require some thought.

The refactoring is mostly done in bulk in order to get rid of ugly patterns like #region IActionHandler Members, but there are some where special care was taken, like OpenDocumentAction.

On the way, JpegCompressionDialog was also modified