commit 5ba50665db259e48142bfa14222df84d5dd18d57
parent 4752d692270b9acc8bc1a47b8ccd67d563078735
Author: paul <paul@claws-mail.org>
Date: Tue, 22 Dec 2020 08:37:40 +0000
fix line wrapping
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/plugins/vcalendar/vcalendar.c b/src/plugins/vcalendar/vcalendar.c
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2019 Colin Leroy and the Claws Mail team
+ * Copyright (C) 1999-2020 the Claws Mail team and Colin Leroy
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -1105,6 +1105,8 @@ static gboolean vcalviewer_action_cb(GtkButton *widget, gpointer data)
gtk_label_set_use_markup(GTK_LABEL (widget), TRUE); \
gtk_label_set_xalign(GTK_LABEL(widget), 0.0); \
gtk_label_set_yalign(GTK_LABEL(widget), 0.0); \
+ gtk_label_set_line_wrap_mode(GTK_LABEL(widget), \
+ PANGO_WRAP_CHAR); \
gtk_label_set_line_wrap(GTK_LABEL(widget), TRUE); \
} \
i++; \