summaryrefslogtreecommitdiffstats
path: root/info.c
diff options
context:
space:
mode:
authorGravatar Nathan Samson <nathansamson@gmail.com>2011-09-04 19:01:30 +0200
committerGravatar Nathan Samson <nathansamson@gmail.com>2011-09-04 19:01:30 +0200
commit6138d151e9156bdf15843b1b54104428c5124e38 (patch)
treefe23a930108345a9b7cb9edd6bcd08d6054814e6 /info.c
parent1117cd37d71e294069a670bdf0851041575e0d5f (diff)
downloadsubsurface-6138d151e9156bdf15843b1b54104428c5124e38.tar.gz
Remove the redundant frames in the notebook. Closes #9
Signed-off-by: Nathan Samson <nathansamson@gmail.com>
Diffstat (limited to 'info.c')
-rw-r--r--info.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/info.c b/info.c
index 55708bedf..4275ad6ff 100644
--- a/info.c
+++ b/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;
}