fix configure bug in cfv
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 19 Aug 2004 05:01:27 +0000 (05:01 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 19 Aug 2004 05:01:27 +0000 (05:01 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@814 04897980-b3bd-0310-b5e0-8ef037075253

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

index c6d331f92cfc9fd924aa32e3108944794111d258..9939a7ca20f613363a7dac387c76b0b82c305fb2 100644 (file)
@@ -559,6 +559,15 @@ configure_event( GtkWidget *widget, GdkEventConfigure *event,
         widget->allocation.height != 1)
         && drawing->damage_begin < drawing->damage_end)
     {
+
+      rectangle_pixmap (drawing->control_flow_data->process_list,
+        drawing->drawing_area->style->black_gc,
+        TRUE,
+        0, 0,
+        drawing->alloc_width, // do not overlap
+        -1);
+
+
       drawing_data_request(drawing,
                            drawing->damage_begin,
                            0,
index e3ce26461e57fb7320f0b5cea88bbd248cd3a03d..e27ddf27982345062ab68444f458624887a36a3f 100644 (file)
@@ -2895,9 +2895,10 @@ gint redraw_notify(void *hook_data, void *call_data)
         widget->style->black_gc,
         TRUE,
         0, 0,
-        drawing->width+SAFETY,
+        drawing->alloc_width,
         -1);
 
+  gtk_widget_queue_draw(drawing->drawing_area);
 
   if(drawing->damage_begin < drawing->damage_end)
   {
@@ -2908,7 +2909,6 @@ gint redraw_notify(void *hook_data, void *call_data)
                          drawing->height);
   }
 
-  gtk_widget_queue_draw(drawing->drawing_area);
   //gtk_widget_queue_draw_area(drawing->drawing_area,
   //                           0,0,
   //                           drawing->width,
index 55c82b6f0586f8ed31fce60adee0f049c3aa294c..ba0ca45a4cc221dbd06bd9521418f85e7c129c1e 100644 (file)
@@ -346,20 +346,15 @@ ProcessList *processlist_construct(void)
   process_list->process_list_widget = 
     gtk_tree_view_new_with_model
     (GTK_TREE_MODEL (process_list->list_store));
+
   g_object_unref (G_OBJECT (process_list->list_store));
 
-  gtk_tree_sortable_set_sort_func(
+  gtk_tree_sortable_set_default_sort_func(
       GTK_TREE_SORTABLE(process_list->list_store),
-      PID_COLUMN,
       process_sort_func,
       NULL,
       NULL);
   
-  gtk_tree_sortable_set_sort_column_id(
-      GTK_TREE_SORTABLE(process_list->list_store),
-      PID_COLUMN,
-      GTK_SORT_ASCENDING);
-  
   process_list->process_hash = g_hash_table_new_full(
       process_list_hash_fct, process_list_equ_fct,
       destroy_hash_key, destroy_hash_data
This page took 0.028662 seconds and 4 git commands to generate.