summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-aboutdialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop/mate-aboutdialog.c')
-rw-r--r--libmate-desktop/mate-aboutdialog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmate-desktop/mate-aboutdialog.c b/libmate-desktop/mate-aboutdialog.c
index 4f99764..0ef99c5 100644
--- a/libmate-desktop/mate-aboutdialog.c
+++ b/libmate-desktop/mate-aboutdialog.c
@@ -513,6 +513,9 @@ mate_about_dialog_init (MateAboutDialog *about)
gtk_label_set_selectable (GTK_LABEL (priv->comments_label), TRUE);
gtk_label_set_justify (GTK_LABEL (priv->comments_label), GTK_JUSTIFY_CENTER);
gtk_label_set_line_wrap (GTK_LABEL (priv->comments_label), TRUE);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_label_set_max_width_chars (GTK_LABEL (priv->comments_label), 60);
+#endif
gtk_box_pack_start (GTK_BOX (vbox), priv->comments_label, FALSE, FALSE, 0);
priv->copyright_label = gtk_label_new (NULL);