Remove the suspend/hibernate entries from the system menu in the Gnome panel?

The suspend/hibernate menu entries in the "System" menu of the Gnome panel are linked to the Gnome Power Manager. If the Gnome Power Manager supports "suspend" or "hibernate", then the corresponding options will show in the menu.

To remove the "Suspend" or "Hibernate" options from the Gnome System menu,instruct the Gnome Power Manager to disable support for suspend and/or hibernate.

This can be achieved either graphically using gconf-editor by browsing to apps/gnome-power-manager and unset the options "can_hibernate" and "can_suspend", or use the command line tool gconftool-2: