Disable the 3D-dock in Leopard

If you hate the fancy 3D-dock in Leopard, or just think that it doesn’t match your current wallpaper (this happens for me a lot), open a Terminal and type these:

defaults write com.apple.dock no-glass -boolean YES 
killall Dock