mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove the redundant frames in the notebook. Closes #9
Signed-off-by: Nathan Samson <nathansamson@gmail.com>
This commit is contained in:
parent
1117cd37d7
commit
6138d151e9
4 changed files with 11 additions and 20 deletions
9
info.c
9
info.c
|
|
@ -164,21 +164,16 @@ static GtkTextBuffer *text_entry(GtkWidget *box, const char *label, gboolean exp
|
|||
return buffer;
|
||||
}
|
||||
|
||||
GtkWidget *extended_dive_info_frame(void)
|
||||
GtkWidget *extended_dive_info_widget(void)
|
||||
{
|
||||
GtkWidget *frame;
|
||||
GtkWidget *vbox;
|
||||
|
||||
frame = gtk_frame_new("Extended dive info");
|
||||
gtk_widget_show(frame);
|
||||
|
||||
vbox = gtk_vbox_new(FALSE, 5);
|
||||
gtk_container_add(GTK_CONTAINER(frame), vbox);
|
||||
|
||||
location = text_entry(vbox, "Location", FALSE);
|
||||
notes = text_entry(vbox, "Notes", TRUE);
|
||||
|
||||
/* Add extended info here: name, description, yadda yadda */
|
||||
update_dive_info(current_dive);
|
||||
return frame;
|
||||
return vbox;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue