[gdl] Restore current GdlDockNotebook page when loading a layout



commit b0c3c8d384f76019d1f4c9c4a9c062da88c53bd7
Author: SÃbastien Granjoux <seb sfo free fr>
Date:   Mon Jul 30 19:55:12 2012 +0200

    Restore current GdlDockNotebook page when loading a layout

 gdl/gdl-dock-layout.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdl/gdl-dock-layout.c b/gdl/gdl-dock-layout.c
index b949431..cc51944 100644
--- a/gdl/gdl-dock-layout.c
+++ b/gdl/gdl-dock-layout.c
@@ -422,6 +422,9 @@ gdl_dock_layout_recursive_build (GdlDockMaster *master,
                 }
             }
 
+            /* build children */
+            gdl_dock_layout_recursive_build (master, node, object);
+            
             /* apply "after" parameters */
             for (i = 0; i < n_after_params; i++) {
                 g_object_set_property (G_OBJECT (object),
@@ -432,9 +435,6 @@ gdl_dock_layout_recursive_build (GdlDockMaster *master,
             }
             g_free (after_params);
 
-            /* build children */
-            gdl_dock_layout_recursive_build (master, node, object);
-            
             gdl_dock_object_thaw (object);
         }
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]