diff options
Diffstat (limited to 'sensors-applet/active-sensor.c')
-rw-r--r-- | sensors-applet/active-sensor.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sensors-applet/active-sensor.c b/sensors-applet/active-sensor.c index 5ffb262..6ae6831 100644 --- a/sensors-applet/active-sensor.c +++ b/sensors-applet/active-sensor.c @@ -420,6 +420,11 @@ ActiveSensor *active_sensor_new(SensorsApplet *sensors_applet, active_sensor->sensor_row = sensor_row; +#ifdef HAVE_LIBNOTIFY + /* set a base time, creation -5 minutes */ + active_sensor->ierror_ts = time(NULL) - 300; +#endif + int i; for (i = 0; i < NUM_ALARMS; i++) { active_sensor->alarm_timeout_id[i] = -1; |