show text : running state
[lttv.git] / ltt / branches / poly / lttv / modules / guiControlFlow / Process_List.c
index 40e189f6383628dfa081c12d1b88ce6e0534509c..93298c5e5a921c18bf5d40c918b5cdc8ecff672e 100644 (file)
@@ -299,6 +299,7 @@ void destroy_hash_data(gpointer data)
 int processlist_add(   ProcessList *Process_List,
                        guint pid,
                        LttTime *birth,
+                       gchar *name,
                        guint *height,
                        HashedProcessData **pmHashed_Process_Data)
 {
@@ -313,6 +314,7 @@ int processlist_add(        ProcessList *Process_List,
        Hashed_Process_Data->draw_context = g_new(DrawContext, 1);
        Hashed_Process_Data->draw_context->drawable = NULL;
        Hashed_Process_Data->draw_context->gc = NULL;
+       Hashed_Process_Data->draw_context->pango_layout = NULL;
        Hashed_Process_Data->draw_context->Current = g_new(DrawInfo,1);
        Hashed_Process_Data->draw_context->Current->over = g_new(ItemInfo,1);
        Hashed_Process_Data->draw_context->Current->over->x = -1;
@@ -363,7 +365,7 @@ int processlist_add(        ProcessList *Process_List,
        //                              GTK_TREE_MODEL(Process_List->Store_M),
        //                              &iter)));
        gtk_list_store_set (    Process_List->Store_M, &iter,
-                               PROCESS_COLUMN, "name",
+                               PROCESS_COLUMN, name,
                                PID_COLUMN, pid,
                                BIRTH_S_COLUMN, birth->tv_sec,
                                BIRTH_NS_COLUMN, birth->tv_nsec,
This page took 0.023516 seconds and 4 git commands to generate.