diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-01-24 19:18:40 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-01-24 19:18:40 +0100 |
commit | 6f0ef78612d344d71acd75cc31cdf3ae008f5adf (patch) | |
tree | bef1d3d1bc21facb982bd4e5cd7d05871c6e0fd0 /src/themes/standard | |
parent | 27c4734007edef523f90668fadd0ae4e055fb42e (diff) | |
download | mate-notification-daemon-6f0ef78612d344d71acd75cc31cdf3ae008f5adf.tar.bz2 mate-notification-daemon-6f0ef78612d344d71acd75cc31cdf3ae008f5adf.tar.xz |
use max. 50 charactersfor body label
Diffstat (limited to 'src/themes/standard')
-rw-r--r-- | src/themes/standard/theme.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/themes/standard/theme.c b/src/themes/standard/theme.c index 2f9fb78..d8c2015 100644 --- a/src/themes/standard/theme.c +++ b/src/themes/standard/theme.c @@ -815,6 +815,7 @@ GtkWindow* create_notification(UrlClickedCb url_clicked) gtk_label_set_line_wrap(GTK_LABEL(windata->body_label), TRUE); #if GTK_CHECK_VERSION (3, 0, 0) gtk_label_set_line_wrap_mode (GTK_LABEL (windata->body_label), PANGO_WRAP_WORD_CHAR); + 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); |