diff options
Diffstat (limited to 'src/ui/chat.c')
-rw-r--r-- | src/ui/chat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/chat.c b/src/ui/chat.c index 60a4697..7919989 100644 --- a/src/ui/chat.c +++ b/src/ui/chat.c | |||
@@ -471,6 +471,10 @@ ui_chat_new(MESSENGER_Application *app) | |||
471 | gtk_builder_get_object(handle->builder, "selection_box") | 471 | gtk_builder_get_object(handle->builder, "selection_box") |
472 | ); | 472 | ); |
473 | 473 | ||
474 | handle->chat_avatar = HDY_AVATAR( | ||
475 | gtk_builder_get_object(handle->builder, "chat_avatar") | ||
476 | ); | ||
477 | |||
474 | handle->chat_title = GTK_LABEL( | 478 | handle->chat_title = GTK_LABEL( |
475 | gtk_builder_get_object(handle->builder, "chat_title") | 479 | gtk_builder_get_object(handle->builder, "chat_title") |
476 | ); | 480 | ); |
@@ -741,9 +745,7 @@ ui_chat_update(UI_CHAT_Handle *handle, | |||
741 | GString *subtitle = g_string_new(""); | 745 | GString *subtitle = g_string_new(""); |
742 | 746 | ||
743 | if (contact) | 747 | if (contact) |
744 | { | ||
745 | title = GNUNET_CHAT_contact_get_name(contact); | 748 | title = GNUNET_CHAT_contact_get_name(contact); |
746 | } | ||
747 | else if (group) | 749 | else if (group) |
748 | { | 750 | { |
749 | title = GNUNET_CHAT_group_get_name(group); | 751 | title = GNUNET_CHAT_group_get_name(group); |