aboutsummaryrefslogtreecommitdiff
path: root/src/ui/chat.h
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-03-15 19:19:30 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2022-03-15 19:19:30 +0100
commit275ac387f9248f2095297cec465fc2c0c90da2d8 (patch)
treef5101c135306607359c46395bc91b74bd7dd425e /src/ui/chat.h
parent5e1a9a66817f14e2d39962b3ebcee7752925aa95 (diff)
downloadmessenger-gtk-275ac387f9248f2095297cec465fc2c0c90da2d8.tar.gz
messenger-gtk-275ac387f9248f2095297cec465fc2c0c90da2d8.zip
Added button to leave the chat
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/ui/chat.h')
-rw-r--r--src/ui/chat.h10
1 files changed, 9 insertions, 1 deletions
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
90 GtkLabel *chat_details_label; 90 GtkLabel *chat_details_label;
91 GtkButton *hide_chat_details_button; 91 GtkButton *hide_chat_details_button;
92 GtkBox *chat_details_contacts_box; 92 GtkBox *chat_details_contacts_box;
93 GtkBox *chat_details_files_box;
94
95 HdyAvatar *chat_details_avatar;
96
97 GtkButton *reveal_identity_button;
98 GtkButton *leave_chat_button;
99
100 GtkSwitch *chat_notifications_switch;
93 101
94 GtkButton *selection_close_button; 102 GtkButton *selection_close_button;
95 GtkLabel *selection_count_label; 103 GtkLabel *selection_count_label;
@@ -128,7 +136,7 @@ ui_chat_new(MESSENGER_Application *app);
128void 136void
129ui_chat_update(UI_CHAT_Handle *handle, 137ui_chat_update(UI_CHAT_Handle *handle,
130 MESSENGER_Application *app, 138 MESSENGER_Application *app,
131 const struct GNUNET_CHAT_Context* context); 139 struct GNUNET_CHAT_Context* context);
132 140
133void 141void
134ui_chat_delete(UI_CHAT_Handle *handle); 142ui_chat_delete(UI_CHAT_Handle *handle);