consolidate engine-dialog widget sensitivity logic.
authorRobin Gareus <robin@gareus.org>
Tue, 11 Aug 2015 12:43:00 +0000 (14:43 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 11 Aug 2015 13:38:31 +0000 (15:38 +0200)
commit6bb51a26eb83a520bf74355083a14413dfd6fb10
tree6d20c630e919a939eace6add2187d8fa386d3149
parent9bc85a553c542bc3bff108a066a1da9493078491
consolidate engine-dialog widget sensitivity logic.

Use a single function with the complete logic.

Since the callgraph is complex, there is internal state as well as GUI
state (different pages), do not rely on individual methods to get it
right.

A widget's sensitivity should only be controlled by one function.
gtk2_ardour/engine_dialog.cc
gtk2_ardour/engine_dialog.h