aboutsummaryrefslogtreecommitdiff
path: root/src/ui/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/chat.c')
-rw-r--r--src/ui/chat.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ui/chat.c b/src/ui/chat.c
index 42943c3..73e014c 100644
--- a/src/ui/chat.c
+++ b/src/ui/chat.c
@@ -272,6 +272,17 @@ ui_chat_new(MESSENGER_Application *app)
272} 272}
273 273
274void 274void
275ui_chat_activate(UI_CHAT_Handle *handle)
276{
277 gtk_text_view_set_editable(handle->send_text_view, TRUE);
278 gtk_widget_set_sensitive(GTK_WIDGET(handle->send_text_view), TRUE);
279
280 gtk_widget_set_sensitive(GTK_WIDGET(handle->attach_file_button), TRUE);
281 gtk_widget_set_sensitive(GTK_WIDGET(handle->emoji_button), TRUE);
282 gtk_widget_set_sensitive(GTK_WIDGET(handle->send_record_button), TRUE);
283}
284
285void
275ui_chat_delete(UI_CHAT_Handle *handle) 286ui_chat_delete(UI_CHAT_Handle *handle)
276{ 287{
277 ui_picker_delete(handle->picker); 288 ui_picker_delete(handle->picker);