diff -Nru gnome-power-manager-2.32.0/debian/changelog gnome-power-manager-2.32.0/debian/changelog --- gnome-power-manager-2.32.0/debian/changelog 2011-03-15 03:06:07.000000000 +0200 +++ gnome-power-manager-2.32.0/debian/changelog 2011-04-23 06:51:37.000000000 +0300 @@ -1,3 +1,9 @@ +gnome-power-manager (2.32.0-2ubuntu3) natty; urgency=low + + * Don't add hot-added battery to device list, because libupower-glib already does that (LP: #616443) + + -- Maxim Levitsky Sat, 23 Apr 2011 06:51:34 +0300 + gnome-power-manager (2.32.0-2ubuntu2) natty; urgency=low [ Alex Murray ] diff -Nru gnome-power-manager-2.32.0/debian/patches/debian-changes-2.32.0-2ubuntu3 gnome-power-manager-2.32.0/debian/patches/debian-changes-2.32.0-2ubuntu3 --- gnome-power-manager-2.32.0/debian/patches/debian-changes-2.32.0-2ubuntu3 1970-01-01 02:00:00.000000000 +0200 +++ gnome-power-manager-2.32.0/debian/patches/debian-changes-2.32.0-2ubuntu3 2011-04-23 06:52:29.000000000 +0300 @@ -0,0 +1,39 @@ +Description: Upstream changes introduced in version 2.32.0-2ubuntu3 + This patch has been created by dpkg-source during the package build. + Here's the last changelog entry, hopefully it gives details on why + those changes were made: + . + gnome-power-manager (2.32.0-2ubuntu3) natty; urgency=low + . + * Don't add hot-added battery to device list, because libupower-glib already does that (LP: #616443) + . + The person named in the Author field signed this changelog entry. +Author: Maxim Levitsky +Bug-Ubuntu: https://bugs.launchpad.net/bugs/616443 + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- gnome-power-manager-2.32.0.orig/src/gpm-engine.c ++++ gnome-power-manager-2.32.0/src/gpm-engine.c +@@ -886,10 +886,7 @@ out: + static void + gpm_engine_device_added_cb (UpClient *client, UpDevice *device, GpmEngine *engine) + { +- /* add to list */ +- g_ptr_array_add (engine->priv->array, g_object_ref (device)); + gpm_engine_check_recall (engine, device); +- + gpm_engine_recalculate_state (engine); + } + diff -Nru gnome-power-manager-2.32.0/debian/patches/series gnome-power-manager-2.32.0/debian/patches/series --- gnome-power-manager-2.32.0/debian/patches/series 2011-03-15 03:06:07.000000000 +0200 +++ gnome-power-manager-2.32.0/debian/patches/series 2011-04-23 06:46:23.000000000 +0300 @@ -6,3 +6,4 @@ 14_fix_no_xbacklight_crash.patch 14-critical-message-timeout.patch 15-keyboard-backlight-support.patch +debian-changes-2.32.0-2ubuntu3