summaryrefslogtreecommitdiff
path: root/gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk.c')
-rw-r--r--gtk.c1
1 files changed, 1 insertions, 0 deletions
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);