59
59
gtk_calendar_get_date (diary->calendar, &year, &month, &day);
62
diary_storage_manager_set_entry (diary->storage_manager, year, month, day, entry_text);
66
63
* and update the state of the add link button. */
64
if (diary_storage_manager_set_entry (diary->storage_manager, year, month, day, entry_text) == FALSE) {
68
65
gtk_calendar_unmark_day (diary->calendar, day);
70
67
gtk_widget_set_sensitive (GTK_WIDGET (diary->add_button), FALSE);