diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-31 12:09:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-31 12:09:19 -0700 |
commit | a11dbbdb1856a05b97e872fd732682d9bf8ef49b (patch) | |
tree | e4b5623202d41421466950ad2ab2549591548520 /main.c | |
parent | 7017d17562fe803946ef9e0d8e9af9611bc43ba5 (diff) | |
download | subsurface-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |