cosmetic change : add 1 pixel border around viewers
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 5 Sep 2005 14:20:00 +0000 (14:20 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 5 Sep 2005 14:20:00 +0000 (14:20 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1128 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c
ltt/branches/poly/lttv/modules/gui/detailedevents/events.c
ltt/branches/poly/lttv/modules/gui/filter/filter.c
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c
ltt/branches/poly/lttv/modules/gui/statistics/statistics.c

index 082a8ff934e7f5b49d238b01ebf74b37e9579544..a96336ff6a48ac5805bf0c5cb7843e965a5406d3 100644 (file)
@@ -119,7 +119,9 @@ guicontrolflow(void)
                   process_list_widget, FALSE, TRUE);
   gtk_paned_pack2(GTK_PANED(control_flow_data->h_paned),
                   drawing_widget, TRUE, TRUE);
+  
+  gtk_container_set_border_width(GTK_CONTAINER(control_flow_data->box), 1);
+  
   /* Set the size of the drawing area */
   //drawing_Resize(drawing, h, w);
 
index 86ff21bccd339390e17ae21bc83e46806428b74e..690588f1d9d3794b6a9077d801c4f77a898c14b0 100644 (file)
@@ -434,6 +434,8 @@ gui_events(Tab *tab)
   gtk_box_pack_start(GTK_BOX(event_viewer_data->hbox_v),
       event_viewer_data->scroll_win, TRUE, TRUE, 0);
 
+  gtk_container_set_border_width(GTK_CONTAINER(event_viewer_data->hbox_v), 1);
+
   /* Create vertical scrollbar and pack it */
   event_viewer_data->vscroll_vc = gtk_vscrollbar_new(NULL);
   gtk_range_set_update_policy (GTK_RANGE(event_viewer_data->vscroll_vc),
index 9b4af150327b1aec804659acaf75cdffbf65b105..4d95380e9144486381f019f527cb46cbdea847d4 100644 (file)
@@ -258,6 +258,8 @@ gui_filter(Tab *tab)
  
   gtk_table_attach( GTK_TABLE(fvd->f_main_box),fvd->f_logical_op_junction_box,0,1,1,2,GTK_SHRINK,GTK_FILL,0,0);
 
+  gtk_container_set_border_width(GTK_CONTAINER(fvd->f_main_box), 1);
+  
   /* initialize a new line */
   fvd->f_lines = g_ptr_array_new();
   fvd->rows = 1;
index 179eab0ad157806f33bd85545ea64315d81a2d43..d76ce1545b792d2d4121220a45e789c0e8a83ac7 100644 (file)
@@ -119,7 +119,7 @@ void set_current_position(Tab *tab, const LttvTracesetContextPosition *pos)
   g_assert(lttv_iattribute_find_by_path(tab->attributes,
            "hooks/updatecurrentposition", LTTV_POINTER, &value));
   tmp = (LttvHooks*)*(value.v_pointer);
-  if(tmp != NULL) lttv_hooks_call(tmp, &pos);
+  if(tmp != NULL) lttv_hooks_call(tmp, pos);
 }
 
 void add_toolbar_constructor(MainWindow *mw, LttvToolbarClosure *toolbar_c)
index 99e7834120c420a7ec623d7f7bb10ea6937b2b38..bec260f06e267bf1ab7f3629479c41138086046e 100644 (file)
@@ -336,6 +336,9 @@ gui_statistic(Tab *tab)
   gtk_container_add (GTK_CONTAINER (statistic_viewer_data->scroll_win_text), statistic_viewer_data->text_v);
   gtk_paned_pack2(GTK_PANED(statistic_viewer_data->hpaned_v), statistic_viewer_data->scroll_win_text, TRUE, FALSE);
 
+  gtk_container_set_border_width(
+      GTK_CONTAINER(statistic_viewer_data->hpaned_v), 1);
+  
   gtk_widget_show(statistic_viewer_data->scroll_win_tree);
   gtk_widget_show(statistic_viewer_data->scroll_win_text);
   gtk_widget_show(statistic_viewer_data->tree_v);
This page took 0.027404 seconds and 4 git commands to generate.