diff options
Diffstat (limited to 'src/ui/chat.c')
-rw-r--r-- | src/ui/chat.c | 11 |
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 | ||
274 | void | 274 | void |
275 | ui_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 | |||
285 | void | ||
275 | ui_chat_delete(UI_CHAT_Handle *handle) | 286 | ui_chat_delete(UI_CHAT_Handle *handle) |
276 | { | 287 | { |
277 | ui_picker_delete(handle->picker); | 288 | ui_picker_delete(handle->picker); |