static GtkEntry *location;
static GtkTextBuffer *notes;
static int location_changed = 1, notes_changed = 1;
static GtkEntry *location;
static GtkTextBuffer *notes;
static int location_changed = 1, notes_changed = 1;
return gtk_text_buffer_get_text(buffer, &start, &end, FALSE);
}
return gtk_text_buffer_get_text(buffer, &start, &end, FALSE);
}
if (!dive) {
gtk_label_set_text(GTK_LABEL(divedate), "no dive");
gtk_label_set_text(GTK_LABEL(divetime), "");
if (!dive) {
gtk_label_set_text(GTK_LABEL(divedate), "no dive");
gtk_label_set_text(GTK_LABEL(divetime), "");
notes = text_view(vbox, "Notes", TRUE);
/* Add extended info here: name, description, yadda yadda */
notes = text_view(vbox, "Notes", TRUE);
/* Add extended info here: name, description, yadda yadda */