There is now a new key in GNOME Configurator Editor. Below are the steps to disable buttons on icons in GNOME 2.26 and above.
- Press Alt + F2
- Type gconf-editor and hit Enter.
- Go to Desktop –> GNOME –> Interface
- Uncheck the key buttons_have_icons
Just check the box to get your icons back.
via Manas T