From 7749c10fd37d28ab78262e5daf0011dfe07fe0ba Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandresavard@msavard.(none)>
Date: Mon, 27 Jun 2011 14:24:58 -0400
Subject: [PATCH] #6183: Fix history icons when calling back a conference from
 history

---
 sflphone-client-gnome/src/contacts/calltree.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sflphone-client-gnome/src/contacts/calltree.c b/sflphone-client-gnome/src/contacts/calltree.c
index 5ce1ad7e8c..ab6af26db2 100644
--- a/sflphone-client-gnome/src/contacts/calltree.c
+++ b/sflphone-client-gnome/src/contacts/calltree.c
@@ -1463,7 +1463,11 @@ void calltree_add_history_conference(conference_obj_t *conf)
             pixbuf = gdk_pixbuf_scale_simple(pixbuf, 32, 32, GDK_INTERP_BILINEAR);
 	}
     }
-
+    
+    date = get_formatted_start_timestamp(conf->_time_start);
+    description = g_strconcat(description, date, NULL);
+    gtk_tree_store_set(history->store, &iter, 0, pixbuf, 1, description, 2, NULL, 3, conf, -1);
+    
     conference_participant = conf->participant_list;
     if(conference_participant) {
         while(conference_participant) {
@@ -1476,12 +1480,8 @@ void calltree_add_history_conference(conference_obj_t *conf)
 		ERROR("ConferenceList: Error: Could not find call %s", call_id);
 	    }
  	    conference_participant = conference_next_participant(conference_participant); 
-        }   
+        }
     }
-    
-    date = get_formatted_start_timestamp(conf->_time_start);
-    description = g_strconcat(description, date, NULL);
-    gtk_tree_store_set(history->store, &iter, 0, pixbuf, 1, description, 2, NULL, 3, conf, -1);
 
     if(pixbuf != NULL) {
 	g_object_unref(G_OBJECT(pixbuf)); 
-- 
GitLab