summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-31 12:09:19 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-31 12:09:19 -0700
commita11dbbdb1856a05b97e872fd732682d9bf8ef49b (patch)
treee4b5623202d41421466950ad2ab2549591548520 /main.c
parent7017d17562fe803946ef9e0d8e9af9611bc43ba5 (diff)
downloadsubsurface-a11dbbdb1856a05b97e872fd732682d9bf8ef49b.tar.gz
Add fake 'info' frame contents
It should have depth, time, place etc information, but right now it only has a fake depth that doesn't even get updated. Just to show the idea of the table usage. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2df31c4d2..d3853faab 100644
--- a/main.c
+++ b/main.c
@@ -94,9 +94,12 @@ int main(int argc, char **argv)
/* Frame for dive profile */
frame = dive_profile_frame();
gtk_table_attach_defaults(GTK_TABLE(table), frame, 1, 2, 1, 2);
-
dive_profile = frame;
+ /* Frame for dive info */
+ frame = dive_info_frame();
+ gtk_table_attach_defaults(GTK_TABLE(table), frame, 1, 2, 0, 1);
+
gtk_widget_set_app_paintable(win, TRUE);
gtk_widget_show_all(win);