/*
- * Copyright (C) 2010-2012 jeanfi@gmail.com
+ * Copyright (C) 2010-2013 jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
while (*sensor_cur) {
struct psensor *s = *sensor_cur;
- if (s->enabled) {
+ if (s->graph_enabled) {
no_graphs = 0;
if (is_fan_type(s->type)) {
min = min_rpm;
}
if (no_graphs)
- display_no_graphs_warning(cr, g_xoff + 12, g_height /2);
+ display_no_graphs_warning(cr,
+ g_xoff + 12,
+ g_height / 2);
}
cr_pixmap = gdk_cairo_create(gtk_widget_get_window(w_graph));