gnome-power-manager r3374 - in trunk: . src



Author: rhughes
Date: Mon Mar 23 16:14:10 2009
New Revision: 3374
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3374&view=rev

Log:
2009-03-23  Richard Hughes  <richard hughsie com>

* src/gpm-idle.c: (gpm_idle_set_mode),
(gpm_idle_idletime_alarm_expired_cb), (gpm_idle_idletime_reset_cb):
Remove some warning calls that slipped in to the DPMS rewrite.


Modified:
   trunk/ChangeLog
   trunk/src/gpm-idle.c

Modified: trunk/src/gpm-idle.c
==============================================================================
--- trunk/src/gpm-idle.c	(original)
+++ trunk/src/gpm-idle.c	Mon Mar 23 16:14:10 2009
@@ -112,7 +112,7 @@
 		 * timer reset when we change brightness or do DPMS actions */
 		g_timer_reset (idle->priv->timer);
 
-		egg_warning ("Doing a state transition: %s", gpm_idle_mode_to_text (mode));
+		egg_debug ("Doing a state transition: %s", gpm_idle_mode_to_text (mode));
 		g_signal_emit (idle, signals [IDLE_CHANGED], 0, mode);
 	}
 }
@@ -340,7 +340,7 @@
 
 	/* this must be out 500ms ignored timer */
 	if (idle->priv->x_idle) {
-		egg_warning ("removing ignored timer");
+		egg_debug ("removing ignored timer");
 		ret = egg_idletime_alarm_remove (idle->priv->idletime, GPM_IDLE_IDLETIME_IGNORE_ID);
 		if (!ret)
 			egg_warning ("failed to remove timer %i", GPM_IDLE_IDLETIME_IGNORE_ID);
@@ -371,7 +371,7 @@
 	/* have we just chaged state? */
 	if (idle->priv->mode == GPM_IDLE_MODE_BLANK &&
 	    elapsed < GPM_IDLE_TIMEOUT_IGNORE_DPMS_CHANGE) {
-		egg_warning ("ignoring reset, as we've just done a state change");
+		egg_debug ("ignoring reset, as we've just done a state change");
 		/* make sure we trigger a short 1ms timeout so we can get the expired signal */
 		ret = egg_idletime_alarm_set (idle->priv->idletime, GPM_IDLE_IDLETIME_IGNORE_ID, 500);
 		if (!ret)



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