2009-03-09 Richard Hughes ==== Version 2.25.92 ==== 2009-03-05 Richard Hughes * libdevkit-power/dkp-device.c: (dkp_device_get_history): Fix the battery history when using a new DeviceKit-power. 2009-03-04 Richard Hughes * src/gpm-main.c: (main): Don't double free when using gnome-power-manager --version 2009-03-04 Richard Hughes * libdevkit-power/dkp-device.c: (dkp_device_get_history): * libdevkit-power/dkp-enum.h: * libdevkit-power/dkp-object.c: (dkp_object_collect_props): Add in a check for the enum type, as upstream DeviceKit-power will soon move to sending uint based enums, rather than strings. For now, bodge in some checking code, so that 2-26 can work with either version of DeviceKit-power. 2009-03-04 Richard Hughes * src/gpm-devicekit.c: (gpm_devicekit_get_object_icon): Fix up the icon when we are state unknown, and very close to the charging capacity. Some batteries like to stop charging before they get to 100%. * src/gpm-devicekit.c: (gpm_devicekit_get_object_summary): Print a less scary warning when the device state is unknown. This removes one string, and does not add any. 2009-03-02 Richard Hughes * src/gpm-prefs-core.c: (gpm_prefs_setup_sleep_slider): Increase the size of the timeout widget to two hours, which fixes things when gnome-screensaver has a long timeout. Based on a patch from Michael Terry, many thanks. Fixes #529214 2009-03-02 Richard Hughes * src/gpm-inhibit.c: (gpm_inhibit_inhibit), (gpm_inhibit_un_inhibit), (gpm_inhibit_remove_dbus), (gpm_inhibit_init), (gpm_inhibit_finalize): Don't crash if there's no gnome-session. Fixes #485103 2009-02-27 Richard Hughes Fix compile with --enable-legacy-buttons 2009-02-27 Richard Hughes * src/gpm-button.c: (hal_daemon_new_device_cb), (gpm_button_init): Add buttons as they appear, as would do on a hibernate with a USB keyboard. Patch by Arnaud Patard, many thanks. 2009-02-27 Richard Hughes * libdevkit-power/dkp-object.c: (dkp_object_collect_props), (dkp_object_equal), (dkp_object_diff), (dkp_object_get_id): Use g_strcmp0 rather than homemade function. No functional change. * libhal-glib/hal-device.c: (hal_device_query_capability): Fix a typo in a function we don't use anymore. Found by Arnaud Patard, many thanks. 2009-02-25 Richard Hughes * data/gnome-power-manager.schemas.in: Switch /apps/gnome-power-manager/ambient/enable to false as the code is untested and seems to break brightness on mac book pros. 2009-02-20 Richard Hughes * src/gpm-main.c: (main): We're not panel, so don't register with the session. 2009-02-16 Richard Hughes * src/gpm-prefs-core.c: (gpk_prefs_setup_policykit): Remove the icon from the 'Set default' button in the prefs UI. Fixes #571950 2009-02-16 Richard Hughes * data/icons/16x16/status/Makefile.am: * data/icons/22x22/status/Makefile.am: * data/icons/24x24/status/Makefile.am: * data/icons/32x32/status/Makefile.am: * data/icons/48x48/status/Makefile.am: * data/icons/scalable/status/Makefile.am: * data/icons/scalable/status/gpm-battery-charged.svg: * src/gpm-devicekit.c: (gpm_devicekit_get_object_icon): Add gpm-battery-charged to fix up a regression pointed out by DavidZ. 2009-02-13 Wouter Bolsterlee * src/gpm-statistics.c: (gpm_stats_update_info_page_details): Mark a forgotten string for translation. 2009-02-13 Wouter Bolsterlee * src/gpm-devicekit.c: (gpm_devicekit_get_object_description): Correct translator comment. 2009-02-13 Richard Hughes * data/gpm-statistics.glade: * src/gpm-statistics.c: (main): Remove the refresh button from the stats interface, it's designed as a read only viewer. 2009-02-13 Claude Paroz * src/gpm-devicekit.c: (gpm_devicekit_get_object_description): Added translator comment for Design charge. 2009-02-12 Lucas Rocha * data/gnome-power-manager.desktop.in.in: g-p-m shouldn't start on Panel session phase but in Applications phase. Fixes #571330.