2006-06-11 Richard Hughes ==== Version 2.15.3 ==== 2006-06-11 Richard Hughes * data/gnome-power-manager.schemas.in: Add "nothing" to schema as it's set in the GUI: lp:48290 * data/gpm-info.glade: Remove the save buttons as this is a bad idea. * help/C/figures/gpm-info-devices.png: * help/C/figures/gpm-prefs-ac.png: * help/C/figures/gpm-prefs-battery.png: * help/C/figures/gpm-prefs-options.png: * help/Makefile.am: Update, and add to the screenshots. * help/C/gnome-power-manager.xml: Update with more details on the information window. * src/gpm-hal.c: Check for NULL, although it shouldn't be... * src/gpm-manager.c: Make sure we free the gconf string as this is a little leak. 2006-06-08 Richard Hughes * data/gpm-prefs.glade: * src/gpm-prefs-core.c: Add the configurable action for power button press in the UI. Saves me explaining to another person how to change it in gconf-editor. Fixes #344325. 2006-06-08 Richard Hughes * docs/dbus-interface.xml: * docs/gnome-power-manager.html: Add to the spec the GetOnAc method and the OnAcChanged signal as it's not currently documented. 2006-06-07 William Jon McCann * src/gpm-screensaver.c: (gpm_screensaver_check_running), (gpm_screensaver_poke), (gpm_screensaver_get_idle): Update for g-s API changes. Fixes #344103 2006-06-07 Richard Hughes * docs/dbus-interface.xml: * docs/gnome-power-manager.html: Add a section on API compatibility with 2.14.x so people can easily convert to the new API. 2006-06-07 Richard Hughes * docs/dbus-interface.xml: * docs/gnome-power-manager.html: * src/gpm-manager.xml: According to http://dbus.freedesktop.org/doc/dbus-specification.html we should be using an uppercase first letter. Change the API like this: getOnAc -> GetOnAc getDpmsMode -> GetDpmsMode setDpmsMode -> SetDpmsMode 2006-06-06 Richard Hughes * docs/Makefile.am: * docs/config.xsl: * docs/docbook.css: Add the xsl file so that we can use a css file to style the html. * docs/gnome-power-manager.html: Regenerate this file. 2006-06-06 Richard Hughes * src/gpm-hal.c: * src/gpm-hal.h: Add the new Reboot functionality (already present in HAL). * docs/dbus-interface.xml: * src/gpm-manager.c: * src/gpm-manager.h: * src/gpm-manager.xml: Add the following DBUS methods and functionality for API completeness: - Reboot() - AllowedShutdown() - AllowedReboot() 2006-06-06 Richard Hughes * docs/icon-scheme.txt: Remove this file as we have an xml version now. * docs/release-plan.txt: Remove as we can get the same info from the web. * docs/dbus-interface.xml: * docs/dbus-test-inhibit.py: * docs/gnome-power-manager.html: * src/gpm-inhibit.c: * src/gpm-manager.c: * src/gpm-manager.h: * src/gpm-manager.xml: * src/gpm-prefs-core.c: Rename a few DBUS methods from feedback on XDG list: CanSuspend -> AllowedSuspend CanHibernate -> AllowedHibernate InhibitInactiveSleep -> Inhibit AllowInactiveSleep -> UnInhibit 2006-06-05 William Jon McCann * src/gpm-tray-icon.c: (gpm_tray_icon_activate_cb): Use the correct type of activate signal handler. Fixes #343957 2006-06-02 Richard Hughes * configure.in: * docs/.cvsignore: * docs/Makefile.am: * docs/dbus-interface.xml: * docs/gnome-power-manager.xml.in: * docs/gnome-power-manager.html: * docs/icon-scheme.xml: Add in new docbook documentation about the dbus interface. * docs/dbus-interface.txt: Removed as now obsolete. 2006-05-31 Richard Hughes * src/gpm-brightness.c: * src/gpm-brightness.h: * src/gpm-manager.c: Rework the brightness handling so that we only have one way of doing the transitions. This simplifies things greatly. Fixes #341616 2006-05-30 Jaap Haitsma * src/gpm-tray-icon.c: Use GtkStatusIcon when GTK version >= 2.9.0 2006-05-30 Richard Hughes * data/gnome-power-manager.desktop.in: Add in XFCE so we display in the menu. From ubuntu patchset. lp:43077 * man/gnome-power-manager.sgml: Fix spelling error. From ubuntu patchset. 2006-05-30 Richard Hughes * src/gpm-info-data.c: (gpm_info_data_limit_truncate): Use the GSList in a sane way. 2006-05-30 Richard Hughes * src/gpm-graph-widget.c: (gpm_graph_interpolate_value): Limit the y intersect to the last height, so we don't extend the graph into the unknown. * src/gpm-info.c: (gpm_info_log_do_poll): Set the correct colours of the line depending on discharging/charging status. Fixes #338175. 2006-05-30 Richard Hughes * data/gnome-power-manager.schemas.in: One more grammar fix that I missed in #343017. 2006-05-29 Richard Hughes * data/gnome-power-manager.schemas.in: * data/gpm-info.glade: Grammar fixes from Clytie Siddall to make the strings a bit more sane. See #343017 for details. 2006-05-24 Øivind Hoel * src/gpm-manager.c (gpm_manager_tray_icon_suspend): Fix a small typo (susspend -> suspend) 2006-05-24 Richard Hughes * src/gpm-manager.c (screensaver_auth_request_cb): Undim the screen when we have to unlock returning from resume. This should fix #333290. 2006-05-24 Richard Hughes * src/gpm-manager.c: (battery_status_changed_primary): Make sure we duplicate the message string so we don't crash on the action warning when we try to g_free it. 2006-05-21 Richard Hughes * src/gpm-power.c: Limit the capacity to 100% as some batteries can be a bit screwy. 2006-05-21 Richard Hughes * data/gnome-power-manager.schemas.in: * src/gpm-manager.c: (power_on_ac_changed_cb): * src/gpm-prefs.h: Add the /apps/gnome-power-manager/battery_event_when_closed gconf key so we can disable per-machine the action for when the lid is previously shut and the AC power then removed at a later time. This is prompting lots of confusion for users and consequently lots of bugzillas for me. This should let power users toggle this setting. 2006-05-21 Richard Hughes * src/gpm-info-data.c: (gpm_info_data_add_always): Limit saved values to positive numbers. From Byeong-taek Lee. * src/gpm-info.c: (gpm_info_specific_device_widgets): Warn if device NULL so we don't segfault - NOTE: This is probably a bug in g-p-m as we shouldn't get to this function if there is no device. From Byeong-taek Lee. * src/gpm-manager.c: (idle_changed_cb), (lid_button_pressed): Formatting fixes. * src/gpm-power.c: (gpm_power_exp_aver): Make sure values cannot be negative. From Byeong-taek Lee. 2006-05-17 Richard Hughes richard@hughsie.com> * configure.in: Depend on intltool 0.35.0 to build. 2006-05-17 Richard Hughes richard@hughsie.com> * data/icons/22x22/gpm-keyboard-030.png: * data/icons/22x22/gpm-keyboard-060.png: * data/icons/22x22/gpm-keyboard-100.png: * data/icons/22x22/gpm-mouse-030.png: * data/icons/22x22/gpm-mouse-060.png: * data/icons/22x22/gpm-mouse-100.png: * data/icons/scalable/gpm-keyboard-030.svg: * data/icons/scalable/gpm-keyboard-060.svg: * data/icons/scalable/gpm-keyboard-100.svg: * data/icons/scalable/gpm-mouse-030.svg: * data/icons/scalable/gpm-mouse-060.svg: * data/icons/scalable/gpm-mouse-100.svg: Actually show the correct levels in the pixmaps and svg's. 2006-05-15 Richard Hughes * configure.in: Post release bump to 2.15.3