From b661cc4bde4004f4d7085716680969f4659222a1 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 19 Aug 2022 12:27:43 +0200 Subject: Make message content selectable --- gtk.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk.c') diff --git a/gtk.c b/gtk.c index 0f03472..8a67699 100644 --- a/gtk.c +++ b/gtk.c @@ -202,6 +202,7 @@ void gui_add_message_widget(message_t* message, chat_t* chat) { message->content); GtkWidget* label = gtk_label_new(label_content); gtk_label_set_wrap(GTK_LABEL(label), TRUE); + gtk_label_set_selectable(GTK_LABEL(label), TRUE); message->widget = (void*)label; gtk_box_append(GTK_BOX(chat->widget), label); free(label_content); -- cgit v1.2.3-70-g09d2