fix cell height
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 19 Aug 2004 04:28:59 +0000 (04:28 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 19 Aug 2004 04:28:59 +0000 (04:28 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@811 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c

index 6648c9579e1229c30acd4e89ea28eb08d1fd59c8..c6d331f92cfc9fd924aa32e3108944794111d258 100644 (file)
@@ -603,6 +603,7 @@ expose_event( GtkWidget *widget, GdkEventExpose *event, gpointer user_data )
       event->area.x, event->area.y,
       event->area.width, event->area.height);
 #endif //0
+  drawing->height = processlist_get_height(control_flow_data->process_list);
   copy_pixmap_to_screen(control_flow_data->process_list,
                         widget->window,
                         widget->style->fg_gc[GTK_WIDGET_STATE (widget)],
@@ -611,7 +612,6 @@ expose_event( GtkWidget *widget, GdkEventExpose *event, gpointer user_data )
                         
   
   /* Erase the dotted lines left.. */
-#if 0
   if(widget->allocation.height > drawing->height)
   {
     gdk_draw_rectangle (widget->window,
@@ -621,7 +621,6 @@ expose_event( GtkWidget *widget, GdkEventExpose *event, gpointer user_data )
       event->area.width,  // do not overlap
       widget->allocation.height - drawing->height);
   }
-#endif //0
   if(ltt_time_compare(time_window.start_time, current_time) <= 0 &&
            ltt_time_compare(window_end, current_time) >= 0)
   {
This page took 0.025625 seconds and 4 git commands to generate.