2006-02-26 Richard Hughes <
[email protected]>
==== Version 2.13.92 ====
2006-02-26 Richard Hughes <
[email protected]>
* src/gpm-manager.c (battery_status_changed_primary): Only set the
last_primary_percentage_change after we have tested for the transition.
2006-02-26 Richard Hughes <
[email protected]>
* src/gpm-prefs.h: Add GPM_PREF_USE_ICON_DESKTOPS
* data/gnome-power-manager.schemas.in: Add the new key:
/apps/gnome-power-manager/use_icon_for_desktops so we can set the icon
policy when no hardware is present. Defaults to false.
* src/gpm-manager.c (get_stock_id): Only use the ac_adapter fallback on
desktops if GPM_PREF_USE_ICON_DESKTOPS is set. Fixes #332407
2006-02-25 Richard Hughes <
[email protected]>
* src/gpm-manager.c (get_stock_id_helper): Fix another broken laptop.
2006-02-25 Richard Hughes <
[email protected]>
* src/gpm-tray-icon.c (libnotify_event): Fix typo for libnotify 0.3.0
2006-02-25 Richard Hughes <
[email protected]>
* data/icons/24x24/*.png, data/icons/svg/*.png,
src/gpm-stock-icons.{c|h}, src/gpm-tray-icon.c, src/gpm-manager.c:
Add the following icons:
ac-adapter, keyboard-power-low, mouse-power-low
suspend-to-disk, suspend-to-ram
battery-charged, battery-charging-xxx, battery-discharging-xxx
ups-charged, ups-charging-xxx, ups-discharging-xxx
Where:
00-10% = 000
10-30% = 020
30-50% = 040
50-70% = 060
70-90% = 080
90-100% = 100
To rationise our icon naming and make the icon selection *much easier*.
This is to address bug #331117 to add new UPS discharging and charging
icons, and also to start to fix #331761 so we can theme the icons
someday soon. I wanted to do this before the release so we can start
working on a default theme.
2006-02-25 Richard Hughes <
[email protected]>
* src/gpm-manager.c (gpm_manager_init): Fix the not on AC logic as
we don't want to be notified on coldplug, but do want to be notified
when we remove the ac_adpter for the first time.
This should fix #332322
2006-02-25 Richard Hughes <
[email protected]>
* src/gpm-prefs.h: Add GPM_PREF_IDLE_DIM_SCREEN.
* src/gpm-brightness.c (gpm_brightness_percent_to_hw): Factor out the
percent to hardware value calculation so we can do the error checking
in one place.
(gpm_brightness_level_dim_hw): Factor out the step dimming
functionality so we can use it from other places.
* src/gpm-brightness.{h|c} (gpm_brightness_level_save,
gpm_brightness_level_resume): Add functionality so we can save the
lcd brightness state and resume it from the manager.
* src/gpm-manager.c (idle_changed_cb): Add in functionality so that we
dim the screen to 30% when the SESSION is idle. Fixes #328564
2006-02-24 Richard Hughes <
[email protected]>
* data/gnome-power-manager.schemas.in: Add the new keys:
/apps/gnome-power-manager/check_type_cpu and
/apps/gnome-power-manager/check_type_net to set the system policy for
idle check action on CPU load. Defaults to true.
* src/gpm-prefs.h: Add GPM_PREF_IDLE_CHECK_CPU and
GPM_PREF_IDLE_CHECK_NET.
* src/gpm-manager.c (gpm_manager_init): set the idle cpu load policy
at init time. These policy keys should probably be updated while
running, but this isn't important for now.
* src/gpm-idle.c (poll_system_timer): only inhibit if we are set to
check the CPU load. Networking to come.
Fixes #332149
2006-02-24 William Jon McCann <
[email protected]>
* src/gpm-screensaver.c (gpm_screensaver_lock)
(gpm_screensaver_poke): Update for revised
gnome-screensaver DBUS method capitalization.
Fixes #332481
2006-02-24 Richard Hughes <
[email protected]>
* src/gpm-manager.c (power_on_ac_changed_cb): Invalidate the warning
levels for primary battery when the AC is removed. NOTE: we still rely
on the battery to begin discharging before we issue the warning in
case our power source is UPS.
Should fix #332322.
2006-02-24 Richard Hughes <
[email protected]>
* data/gnome-power-manager.schemas.in: Add the new key:
/apps/gnome-power-manager/use_time_for_policy to set the policy for
per-time or per-percentage critical and low power actions.
* src/gpm-prefs.h: Add GPM_PREF_USE_TIME_POLICY
* src/gpm-manager.c (gpm_manager_init): set the per-time policy type
from GPM_PREF_USE_TIME_POLICY. This still needs to be documented.
Fixes #332055.
2006-02-24 Richard Hughes <
[email protected]>
* data/gnome-power-manager.schemas.in: Add the new key:
/apps/gnome-power-manager/notify_hal_error to set the policy for HAL
failure notifications. Default true to display.
* src/gpm-prefs.h: Add GPM_PREF_NOTIFY_HAL_ERROR
* src/gpm-manager.c (gpm_manager_hibernate, gpm_manager_suspend):
Only display the "HAL failed to {action}" if set in gconf.
Fixes #332440.
2006-02-23 Jaap Haitsma <
[email protected]>
* data/gnome-power-manager.schemas.in: Make the descriptions of the
gconf values better
2006-02-23 Richard Hughes <
[email protected]>
help/C/gnome-power-manager.xml, help/Makefile.am,
help/figures/gpm-prefs-ac.png, help/figures/gpm-prefs-battery.png,
help/figures/gpm-prefs-options.png:
Update the screenshots now we have updated the UI.
2006-02-23 Richard Hughes <
[email protected]>
src/gpm-manager.c (manager_critical_action_do): Do the critical action
as part of a g_timeout, rather than a just a delay so we don't lock
the GUI. Fixes #332150
src/gpm-manager.c (battery_status_changed_primary): Describe what we
are going to do better, so we don't say we are going to shutdown when
we just are going to hibernate.
2006-02-22 Richard Hughes <
[email protected]>
* data/gnome-power-manager.spec.in: Remove notification-daemon as a req
so that we can build on FC5.
2006-02-22 Crispin Flowerday <
[email protected]>
* data/gpm-prefs.glade:
Alter some mnemonics to avoid conflicts with
Ctrl+C (fixes bug #332192)
2006-02-22 Richard Hughes <
[email protected]>
* src/gpm-hal-monitor.c (watch_device_condition): Fix detection
of button objects, and add a verbose comment explaining what's going
on. Fixes
http://launchpad.net/distros/ubuntu/+source/
gnome-power-manager/+bug/32447
2006-02-22 Jaap Haitsma <
[email protected]>
* data/gpm-prefs.glade: "Running on Batteries" => "Running on battery"
So we are consistent with the name of the tab
"Notification Area" => "Notification area"
HIG recommends Sentence capitalization
2006-02-21 Jaap Haitsma <
[email protected]>
* src/gpm-prefs.c: refactor the code that disables widgets if a gconf
key is not writable
2006-02-21 Richard Hughes <
[email protected]>
* configure.in: Post release bump to 2.13.92