]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Switch the dive list and dive profile panes around
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 20 Sep 2011 05:08:43 +0000 (22:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 20 Sep 2011 05:08:43 +0000 (22:08 -0700)
It looks better this way, I think.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
main.c

diff --git a/main.c b/main.c
index f91663276f799a55b0f4167c54f1e7f72f6308ac..cc90e4235c667ab7aad2a0289e2d4198ea6fecef 100644 (file)
--- a/main.c
+++ b/main.c
@@ -463,11 +463,11 @@ int main(int argc, char **argv)
 
        /* Create the actual divelist */
        dive_list = dive_list_create();
-       gtk_paned_add1(GTK_PANED(paned), dive_list.container_widget);
+       gtk_paned_add2(GTK_PANED(paned), dive_list.container_widget);
 
        /* VBox for dive info, and tabs */
        info_box = gtk_vbox_new(FALSE, 6);
-       gtk_paned_add2(GTK_PANED(paned), info_box);
+       gtk_paned_add1(GTK_PANED(paned), info_box);
 
        /* Notebook for dive info vs profile vs .. */
        notebook = gtk_notebook_new();