aboutsummaryrefslogtreecommitdiff
path: root/src/ui/chat_entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/chat_entry.c')
-rw-r--r--src/ui/chat_entry.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/chat_entry.c b/src/ui/chat_entry.c
index 85684f0..89272be 100644
--- a/src/ui/chat_entry.c
+++ b/src/ui/chat_entry.c
@@ -24,10 +24,11 @@
24 24
25#include "chat_entry.h" 25#include "chat_entry.h"
26 26
27#include "message.h"
28
27#include "../application.h" 29#include "../application.h"
28#include "../contact.h" 30#include "../contact.h"
29 31#include "../ui.h"
30#include "message.h"
31 32
32UI_CHAT_ENTRY_Handle* 33UI_CHAT_ENTRY_Handle*
33ui_chat_entry_new(MESSENGER_Application *app) 34ui_chat_entry_new(MESSENGER_Application *app)
@@ -99,9 +100,8 @@ ui_chat_entry_update(UI_CHAT_ENTRY_Handle *handle,
99 icon = "system-users-symbolic"; 100 icon = "system-users-symbolic";
100 } 101 }
101 102
102 gtk_label_set_text(handle->title_label, title? title : ""); 103 ui_label_set_text(handle->title_label, title);
103 104 ui_avatar_set_text(handle->entry_avatar, title);
104 hdy_avatar_set_text(handle->entry_avatar, title? title : "");
105 hdy_avatar_set_icon_name(handle->entry_avatar, icon); 105 hdy_avatar_set_icon_name(handle->entry_avatar, icon);
106 106
107 if (!(handle->chat)) 107 if (!(handle->chat))