For unknown reason on my desktop the default button layout has changed.
There are a lot of links on the web, but they don’t look useful in Quantal.
The solution is using dconf instead of gconf.
In dconf-editor go to
Change button-layout to: close,minimize,maximize:.
The change takes effect immediately.