I accidentally deleted the default top panel in ubuntu 10.04.
How can I restore it without completely re-building it one panel object at a time?
See this post. It has step by step instructions as well as a well recorded video. He provides a script that can restore your top and bottom panels. Just in case you do it again :)
See this post. It will restore your panels back to their defaults. It doesn't discriminate in that any edits to your bottom panel will also be lost.
Open a terminal session by:
pressing Alt F2 > then type
Then enter the following code:
Edit: Updated for gconftool-2
|show 1 more comment|