diff options
Diffstat (limited to 'plugins/housekeeping')
-rw-r--r-- | plugins/housekeeping/msd-ldsm-dialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/housekeeping/msd-ldsm-dialog.c b/plugins/housekeeping/msd-ldsm-dialog.c index 190daf4..5b6aba6 100644 --- a/plugins/housekeeping/msd-ldsm-dialog.c +++ b/plugins/housekeeping/msd-ldsm-dialog.c @@ -222,6 +222,7 @@ msd_ldsm_dialog_init (MsdLdsmDialog *dialog) dialog->priv->primary_label = gtk_label_new (NULL); gtk_label_set_line_wrap (GTK_LABEL (dialog->priv->primary_label), TRUE); gtk_label_set_single_line_mode (GTK_LABEL (dialog->priv->primary_label), FALSE); + gtk_label_set_max_width_chars (GTK_LABEL (dialog->priv->primary_label), 70); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (dialog->priv->primary_label), 0.0); gtk_label_set_yalign (GTK_LABEL (dialog->priv->primary_label), 0.0); @@ -232,6 +233,7 @@ msd_ldsm_dialog_init (MsdLdsmDialog *dialog) dialog->priv->secondary_label = gtk_label_new (NULL); gtk_label_set_line_wrap (GTK_LABEL (dialog->priv->secondary_label), TRUE); gtk_label_set_single_line_mode (GTK_LABEL (dialog->priv->secondary_label), FALSE); + gtk_label_set_max_width_chars (GTK_LABEL (dialog->priv->secondary_label), 70); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (dialog->priv->secondary_label), 0.0); gtk_label_set_yalign (GTK_LABEL (dialog->priv->secondary_label), 0.0); |