put hpaned inside a box, makes it work.
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 27 Jul 2004 18:37:19 +0000 (18:37 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 27 Jul 2004 18:37:19 +0000 (18:37 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@636 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/controlflow/cfv-private.h
ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c

index ee3f6e4e824093e3fdfac78ccf26bc93441dc802..d9b1596c7a09e6cc14fa6452c11ef665ebfee88d 100644 (file)
@@ -25,6 +25,7 @@ struct _ControlFlowData {
   GtkWidget *top_widget;
   Tab *tab;
 
+  GtkWidget *box; /* box that contains the hpaned. necessary for it to work */
   GtkWidget *h_paned;
 
   ProcessList *process_list;
index 75fec21edba5b57773705ba4a0af7cf5d9264c83..fefe0a0be364a0411b31dfbce501624298efd054 100644 (file)
@@ -87,10 +87,12 @@ guicontrolflow(void)
                                    control_flow_data->v_adjust));
 
   
-  //control_flow_data->Inside_HBox_V = gtk_hbox_new(0, 0);
-  control_flow_data->top_widget = control_flow_data->h_paned =
-                                                     gtk_hpaned_new();
-    
+  control_flow_data->h_paned = gtk_hpaned_new();
+  control_flow_data->box = gtk_event_box_new();
+  control_flow_data->top_widget = control_flow_data->box;
+  gtk_container_add(GTK_CONTAINER(control_flow_data->box),
+                    control_flow_data->h_paned);
+      
   gtk_paned_pack1(GTK_PANED(control_flow_data->h_paned),
                   process_list_widget, FALSE, TRUE);
   gtk_paned_pack2(GTK_PANED(control_flow_data->h_paned),
@@ -105,6 +107,7 @@ guicontrolflow(void)
   gtk_widget_show(drawing_widget);
   gtk_widget_show(process_list_widget);
   gtk_widget_show(control_flow_data->h_paned);
+  gtk_widget_show(control_flow_data->box);
   
   g_object_set_data_full(
       G_OBJECT(control_flow_data->top_widget),
This page took 0.025142 seconds and 4 git commands to generate.