From 275ac387f9248f2095297cec465fc2c0c90da2d8 Mon Sep 17 00:00:00 2001 From: TheJackiMonster Date: Tue, 15 Mar 2022 19:19:30 +0100 Subject: Added button to leave the chat Signed-off-by: TheJackiMonster --- src/ui/chat.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/ui/chat.h') diff --git a/src/ui/chat.h b/src/ui/chat.h index 5173596..e28374c 100644 --- a/src/ui/chat.h +++ b/src/ui/chat.h @@ -90,6 +90,14 @@ typedef struct UI_CHAT_Handle GtkLabel *chat_details_label; GtkButton *hide_chat_details_button; GtkBox *chat_details_contacts_box; + GtkBox *chat_details_files_box; + + HdyAvatar *chat_details_avatar; + + GtkButton *reveal_identity_button; + GtkButton *leave_chat_button; + + GtkSwitch *chat_notifications_switch; GtkButton *selection_close_button; GtkLabel *selection_count_label; @@ -128,7 +136,7 @@ ui_chat_new(MESSENGER_Application *app); void ui_chat_update(UI_CHAT_Handle *handle, MESSENGER_Application *app, - const struct GNUNET_CHAT_Context* context); + struct GNUNET_CHAT_Context* context); void ui_chat_delete(UI_CHAT_Handle *handle); -- cgit v1.2.3