[gnome-power-manager] If a battery charge is low but not critical don't play the sound meant for a critical charge event



commit 8c25c3ea7f52567fd2e82ad26fd4498f78f3fac9
Author: Pramod Dematagoda <pmd lotr gandalf gmail com>
Date:   Thu Mar 4 10:59:37 2010 +0530

    If a battery charge is low but not critical don't play the sound meant for a critical charge event

 src/gpm-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpm-manager.c b/src/gpm-manager.c
index d0da61c..3491a4f 100644
--- a/src/gpm-manager.c
+++ b/src/gpm-manager.c
@@ -1421,7 +1421,7 @@ gpm_manager_engine_charge_low_cb (GpmEngine *engine, DkpDevice *device, GpmManag
 	/* get correct icon */
 	icon = gpm_upower_get_device_icon (device);
 	gpm_manager_notify (manager, &manager->priv->notification, title, message, GPM_MANAGER_NOTIFY_TIMEOUT_LONG, icon, NOTIFY_URGENCY_NORMAL);
-	gpm_manager_play (manager, GPM_MANAGER_SOUND_BATTERY_LOW, TRUE);
+	gpm_manager_play (manager, GPM_MANAGER_SOUND_BATTERY_CAUTION, TRUE);
 out:
 	g_free (icon);
 	g_free (message);



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