prepare release 0.7.0.4
[psensor.git] / src / ui_graph.c
index b465807..470148e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2011 jeanfi@gmail.com
+ * Copyright (C) 2010-2012 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
@@ -65,7 +65,7 @@ static GtkActionEntry entries[] = {
          G_CALLBACK(cb_preferences) },
 
        { "SensorPreferencesAction", GTK_STOCK_PREFERENCES,
-         "_Sensor Preferences", NULL,
+         "S_ensor Preferences", NULL,
          "Sensor Preferences",
          G_CALLBACK(cb_sensor_preferences) },
 
@@ -124,12 +124,14 @@ on_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer data)
        struct ui_psensor *ui_psensor = (struct ui_psensor *)data;
 
        graph_update(ui_psensor->sensors,
-                    ui_psensor->w_graph, ui_psensor->config);
+                    ui_psensor->w_graph,
+                    ui_psensor->config,
+                    ui_psensor->main_window);
 
        return FALSE;
 }
 
-GtkWidget *ui_graph_create(struct ui_psensor * ui)
+GtkWidget *ui_graph_create(struct ui_psensor *ui)
 {
        GtkWidget *w_graph;