updated copyright to 2013
[psensor.git] / src / ui_sensorlist.c
index 2809b51..7a7d70f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -71,21 +71,21 @@ void ui_sensorlist_update(struct ui_psensor *ui)
        while (valid && *sensor) {
                s = *sensor;
 
-               str = psensor_value_to_string(s->type,
-                                             s->measures[s->values_max_length -
-                                                         1].value,
-                                             use_celcius);
+               str = psensor_value_to_str(s->type,
+                                          s->measures[s->values_max_length -
+                                                      1].value,
+                                          use_celcius);
 
                gtk_list_store_set(GTK_LIST_STORE(model), &iter, COL_TEMP, str,
                                   -1);
                free(str);
 
-               str = psensor_value_to_string(s->type, s->min, use_celcius);
+               str = psensor_value_to_str(s->type, s->min, use_celcius);
                gtk_list_store_set(GTK_LIST_STORE(model), &iter,
                                   COL_TEMP_MIN, str, -1);
                free(str);
 
-               str = psensor_value_to_string(s->type, s->max, use_celcius);
+               str = psensor_value_to_str(s->type, s->max, use_celcius);
                gtk_list_store_set(GTK_LIST_STORE(model), &iter,
                                   COL_TEMP_MAX, str, -1);
                free(str);
@@ -346,7 +346,7 @@ static void create_widget(struct ui_psensor *ui)
        renderer = gtk_cell_renderer_toggle_new();
        gtk_tree_view_insert_column_with_attributes(ui_sl->treeview,
                                                    -1,
-                                                   _("Enabled"),
+                                                   _("Graph"),
                                                    renderer,
                                                    "active", COL_ENABLED,
                                                    NULL);