Install dconf-editor
sudo yum install -y dconf-editor
then run dconf-editor program and browse to the power leaf :
org -> gnome -> settings-daemon -> plugins -> power
finally set the lid-close-ac-action field either to blank or nothing (but if you care about your planet choose blank, since it will probably save some power...)
http://ask.fedoraproject.org/question/428/how-do-i-disable-suspend-when-my-laptop-is-plugged