added summary for fan notification
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 30 Apr 2012 09:46:59 +0000 (09:46 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 30 Apr 2012 09:46:59 +0000 (09:46 +0000)
src/ui_notify.c

index 8993a18..d8bf542 100644 (file)
@@ -75,6 +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
                        summary = _("N/A");