gnome-power-manager r2549 - in branches/gnome-2-20: . libhal-glib src



Author: rhughes
Date: 2007-11-02 17:47:49 +0000 (Fri, 02 Nov 2007)
New Revision: 2549
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-power-manager?rev=2549&view=rev

Modified:
   branches/gnome-2-20/ChangeLog
   branches/gnome-2-20/libhal-glib/libhal-gpower.c
   branches/gnome-2-20/src/gpm-manager.c
Log:
2007-10-16  Richard Hughes  <richard hughsie com>

* src/gpm-manager.c: (idle_do_sleep):
Always pass an error into gpm_control_ functions, else we can't detect
if the method failed or if it just timed out.
Patch from David Zeuthen, many thanks.

2007-10-13  Richard Hughes  <richard hughsie com>

* src/gpm-manager.c: (gpm_manager_action_suspend),
(gpm_manager_action_hibernate), (manager_policy_do),
(gpm_manager_suspend), (gpm_manager_hibernate),
(gpm_manager_reboot), (gpm_manager_shutdown), (idle_do_sleep),
(idle_changed_cb):
Check for inhibit in more places. Needed for gnome-packagekit work.

2007-10-05  Richard Hughes  <richard hughsie com>

* src/gpm-manager.c: (gpm_manager_action_suspend),
(gpm_manager_action_hibernate), (idle_do_sleep):
Apply a patch from David Zeuthen:
OK, so it turns out we're getting a D-Bus timeout. Actually g-p-m got
codepaths to handle this but the call site passes NULL for the
GError so we never get to examine this and properly handle timeouts.
This patch takes care of that. I've tested and it works. Fixes rh:312761

2007-10-05  Richard Hughes  <richard hughsie com>

* libhal-glib/libhal-gpower.c: (hal_gpower_suspend),
(hal_gpower_pm_method_void), (hal_gpower_enable_power_save):
* src/gpm-brightness-lcd.c: (gpm_brightness_lcd_get_hw),
(gpm_brightness_lcd_set_hw):
Use the correct DBUS return types now HAL enforces the return type.
Based on a patch from David Zeuthen. Many thanks.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]