added menu
[psensor.git] / src / main.c
index 3a092a8..2fa038f 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2010-2011 wpitchoune@gmail.com
+    Copyright (C) 2010-2011 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 published by
@@ -70,7 +70,7 @@ static const char *program_name;
 void print_version()
 {
        printf("psensor %s\n", VERSION);
-       printf(_("Copyright (C) %s wpitchoune@gmail.com\n\
+       printf(_("Copyright (C) %s jeanfi@gmail.com\n\
 License GPLv2: GNU GPL version 2 or later \
 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>\n\
 This is free software: you are free to change and redistribute it.\n\
@@ -380,8 +380,8 @@ int main(int argc, char **argv)
        associate_cb_alarm_raised(ui.sensors, &ui);
 
        /* main window */
-       ui.main_window = ui_window_create(&ui);
-       ui.main_box = NULL;
+       ui_window_create(&ui);
+       ui.sensor_box = NULL;
 
        /* drawing box */
        ui.w_graph = ui_graph_create(&ui);
@@ -389,7 +389,7 @@ int main(int argc, char **argv)
        /* sensor list */
        ui.ui_sensorlist = ui_sensorlist_create(ui.sensors);
 
-       ui_main_box_create(&ui);
+       ui_sensor_box_create(&ui);
 
        gtk_widget_show_all(ui.main_window);