The actual temperature of the Earth's surface has more to do with the output of volcanos, mid-ocean ridges, etc. over long periods of time than the heat of the sun. The geological record has shown that when tectonic activity was low the temperature of the Earth was also low.
The reasoning behind this is long and complicated, and I'll post it if anyone really needs to hear it.
The Rock Hound