app: clean up how tools are COMMITed and HALTed
Call HALT generically in gimp_tool_control() after calling COMMIT, and remove all hacks in tools that call both COMMIT and HALT or call halt() from commit(). Some tools interact with their subclasses (e.g. filter tool and operation tool), and it's essential that COMMIT runs through the entire class hierarchy before HALT. Probably breaks something, please test.
Showing with 23 additions and 28 deletions