projects
/
psensor-pkg-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new upstream release
[psensor-pkg-debian.git]
/
src
/
ui_notify.c
diff --git
a/src/ui_notify.c
b/src/ui_notify.c
index
6361f06
..
a668014
100644
(file)
--- a/
src/ui_notify.c
+++ b/
src/ui_notify.c
@@
-53,7
+53,7
@@
void ui_notify(struct psensor *sensor, struct ui_psensor *ui)
|| t.tv_sec - last_notification_tv.tv_sec >= 60)
last_notification_tv = t;
else
|| t.tv_sec - last_notification_tv.tv_sec >= 60)
last_notification_tv = t;
else
- return
;
+ return;
if (notify_is_initted() == FALSE)
notify_init("psensor");
if (notify_is_initted() == FALSE)
notify_init("psensor");
@@
-75,8
+75,8
@@
void ui_notify(struct psensor *sensor, struct ui_psensor *ui)
if (is_temp_type(sensor->type))
summary = _("Temperature alert");
if (is_temp_type(sensor->type))
summary = _("Temperature alert");
- else if (
is_fan_type(sensor->type)
)
- summary = _("Fan alert");
+ else if (
sensor->type & SENSOR_TYPE_RPM
)
+ summary = _("Fan
speed
alert");
else
summary = _("N/A");
else
summary = _("N/A");