Mwbuttons: Complete GUI For Customizing Metacity Window Buttons Order

Using Mwbuttons you basically have a horizontal line with all the buttons and you can chose which button and it's placement, exactly the way it will be displayed in Metacity:

mwbuttons