diff --git a/sflphone-client-gnome/src/actions.c b/sflphone-client-gnome/src/actions.c index 2c04b9112f72dcce85a665384471f22ded987293..e7d540803519d7b03b0266c2e762103e9aac2898 100644 --- a/sflphone-client-gnome/src/actions.c +++ b/sflphone-client-gnome/src/actions.c @@ -977,8 +977,9 @@ void sflphone_fill_conference_list(void) { gchar** conferences = (gchar**)dbus_get_conference_list(); gchar** pl; + GHashTable *conference_details; gchar* conf_id; - gchar* c; + conference_obj_t* c; DEBUG("sflphone_fill_conference_list"); @@ -986,9 +987,11 @@ void sflphone_fill_conference_list(void) { for (pl = conferences; *conferences; conferences++) { - c = g_new0(gchar,1); + c = g_new0(conference_obj_t, 1); conf_id = (gchar*)(*conferences); - c = g_strdup(conf_id); + conference_details = dbus_get_conference_details(conf_id); + create_new_call_from_details (conf_id, conference_details, &c); + c->_confID = g_strdup(conf_id); conferencelist_add(c); } diff --git a/sflphone-client-gnome/src/dbus/dbus.c b/sflphone-client-gnome/src/dbus/dbus.c index be96e8130fc1936831e64c9be73008d83d2b7703..1f8280905e590592fa3e6581ec375ac4a2bd5712 100644 --- a/sflphone-client-gnome/src/dbus/dbus.c +++ b/sflphone-client-gnome/src/dbus/dbus.c @@ -218,7 +218,11 @@ conference_added_cb (DBusGProxy *proxy UNUSED, void * foo UNUSED ) { DEBUG ("Conference added %s\n", confID); - // sflphone_display_transfer_status("Transfer successfull"); + + conference_obj_t* new_conf; + + create_new_conference(CONFERENCE_STATE_ACTIVE, confID, &new_conf); + conferencelist_add(new_conf); calltree_add_conference (current_calls, confID); }