X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fui_notify.c;h=e829ed43e7d6f2e2fd52d8c3fd938c97642ea679;hb=5f275b753e5b28de21690bd9bacb53262e59c58a;hp=6361f06648d678160f2bc376ecc025e6e8b50a6a;hpb=ba0ded662ced0e4334ac0652d8f7991f485f0899;p=psensor.git diff --git a/src/ui_notify.c b/src/ui_notify.c index 6361f06..e829ed4 100644 --- a/src/ui_notify.c +++ b/src/ui_notify.c @@ -75,8 +75,8 @@ void ui_notify(struct psensor *sensor, struct ui_psensor *ui) 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");