1.1 --- a/maemo-ui/src/mmyth_ui.c Wed Dec 06 20:22:48 2006 +0000
1.2 +++ b/maemo-ui/src/mmyth_ui.c Fri Jan 05 19:27:27 2007 +0000
1.3 @@ -495,10 +495,10 @@
1.4 if (!(mmyth_ui->schedule_uicommon))
1.5 mmyth_ui->schedule_uicommon = create_schedule_view(mmyth_ui);
1.6
1.7 - schedule_list = g_list_nth(schedule_list, atoi(gtk_tree_path_to_string(path)));
1.8 + schedule_list = g_list_nth(schedule_list, g_ascii_strtoull( gtk_tree_path_to_string(path), NULL, 10 ));
1.9 schedule_info = (ScheduleInfo*) schedule_list->data;
1.10
1.11 - printf("\nstarttime: %ld", schedule_info->start_time); fflush(stdout);
1.12 + printf("\nstarttime: %ld", schedule_info->start_time->tv_sec); fflush(stdout);
1.13 }
1.14
1.15 static MMythUiCommon *
1.16 @@ -509,7 +509,7 @@
1.17
1.18 g_debug ("Creating Schedule UI Common");
1.19
1.20 - mmyth_ui->mmyth_schedulerui = mmyth_schedulerui_new ();
1.21 + mmyth_ui->mmyth_schedulerui = mmyth_schedulerui_new ( mmyth_ui->backend_info );
1.22 if (mmyth_ui->mmyth_schedulerui == NULL) {
1.23 g_warning ("[%s] Error while creating scheduler ui", __FUNCTION__);
1.24 return NULL;
1.25 @@ -700,7 +700,7 @@
1.26
1.27 g_debug ("Creating Record UI Common");
1.28
1.29 - mmyth_ui->mmyth_recordui = mmyth_recordui_new ();
1.30 + mmyth_ui->mmyth_recordui = mmyth_recordui_new ( mmyth_ui->backend_info );
1.31
1.32 // FIXME: Change MMythRecordUI to a GtkWidget child and avoid this call!
1.33 gtk_widget_show_all (mmyth_ui->mmyth_recordui->scrolled_window);