- /* HBOX for the list of dives and cairo window */
- vbox=gtk_hbox_new(FALSE, 5);
- gtk_container_set_border_width(GTK_CONTAINER(vbox), 5);
- gtk_container_add(GTK_CONTAINER(win), vbox);
- gtk_widget_show(vbox);
-
- /* Scrolled window for the list goes into the vbox.. */
- scrolled_window=gtk_scrolled_window_new(NULL, NULL);
- gtk_widget_set_usize(scrolled_window, 150, 350);
- gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
- gtk_container_add(GTK_CONTAINER(vbox), scrolled_window);
- gtk_widget_show(scrolled_window);
-
- /* Frame for dive profile */
- frame = dive_profile_frame();
-
- gtk_container_add(GTK_CONTAINER(vbox), frame);
+ /* Table for the list of dives, cairo window, and dive info */
+ table = gtk_table_new(2, 2, FALSE);
+ gtk_container_set_border_width(GTK_CONTAINER(table), 5);
+ gtk_container_add(GTK_CONTAINER(win), table);
+ gtk_widget_show(table);