From 6f0ef78612d344d71acd75cc31cdf3ae008f5adf Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Sun, 24 Jan 2016 19:18:40 +0100 Subject: use max. 50 charactersfor body label --- src/themes/nodoka/nodoka-theme.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/themes/nodoka') diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c index 9f6d9ac..3be3293 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -980,6 +980,9 @@ create_notification(UrlClickedCb url_clicked) #endif gtk_label_set_line_wrap(GTK_LABEL(windata->body_label), TRUE); gtk_label_set_line_wrap_mode (GTK_LABEL (windata->body_label), PANGO_WRAP_WORD_CHAR); +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_label_set_max_width_chars (GTK_LABEL (windata->body_label), 50); +#endif g_signal_connect(G_OBJECT(windata->body_label), "activate-link", G_CALLBACK(activate_link), windata); -- cgit v1.2.1