diff options
author | xengineering <me@xengineering.eu> | 2022-08-19 12:27:43 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-08-19 12:27:43 +0200 |
commit | b661cc4bde4004f4d7085716680969f4659222a1 (patch) | |
tree | 81062ef5f0a57d78cab9aee69b9b6e6dfb447b48 /gtk.c | |
parent | 8d707d0dd403b4fdef885956f31dad43dee0a91b (diff) | |
download | limox-b661cc4bde4004f4d7085716680969f4659222a1.tar limox-b661cc4bde4004f4d7085716680969f4659222a1.tar.zst limox-b661cc4bde4004f4d7085716680969f4659222a1.zip |
Make message content selectable
Diffstat (limited to 'gtk.c')
-rw-r--r-- | gtk.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |