summaryrefslogtreecommitdiff
path: root/plugins/housekeeping
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-04-25 22:19:06 +0200
committerraveit65 <[email protected]>2017-04-25 23:10:23 +0200
commit3b2871ad76afd2a31ba1f15cdb843f236c220b5e (patch)
tree60aba8f987c506b3592cc08fbeb94587332d03f7 /plugins/housekeeping
parent406866820ac2a1f8698e6926b37ead3490cabbf8 (diff)
downloadmate-settings-daemon-3b2871ad76afd2a31ba1f15cdb843f236c220b5e.tar.bz2
mate-settings-daemon-3b2871ad76afd2a31ba1f15cdb843f236c220b5e.tar.xz
ldsm-dialog: set max width chars for labels
This reduce the width of the dialog
Diffstat (limited to 'plugins/housekeeping')
-rw-r--r--plugins/housekeeping/msd-ldsm-dialog.c2
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);