Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
gnome-power-manager
gnome-power-manager-no-fallback-to-hibernate.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-power-manager-no-fallback-to-hibernate.patch of Package gnome-power-manager
Index: gnome-power-manager-2.24.1/src/gpm-manager.c =================================================================== --- gnome-power-manager-2.24.1.orig/src/gpm-manager.c +++ gnome-power-manager-2.24.1/src/gpm-manager.c @@ -806,14 +806,9 @@ idle_do_sleep (GpmManager *manager) _("Suspending computer."), _("System idle.")); ret = gpm_control_suspend (manager->priv->control, &error); if (!ret) { - egg_warning ("cannot suspend (error: %s), so trying hibernate", error->message); + egg_warning ("cannot suspend (error: %s)", error->message); g_error_free (error); error = NULL; - ret = gpm_control_hibernate (manager->priv->control, &error); - if (!ret) { - egg_warning ("cannot suspend or hibernate: %s", error->message); - g_error_free (error); - } } else { /* we're back from suspend without an error, tell the * user that we've actually suspended due to system
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor