summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-04-22 15:35:00 +0200
committerraveit65 <[email protected]>2017-04-28 08:24:27 +0200
commit28d48f9a4f7596e949286339549bd4e42dea6d21 (patch)
tree007835206643cf4775ed06211f9471e47cb29ddc
parenta627cb4a4d33d760e34dea37b0e3812207d7a657 (diff)
downloadeom-28d48f9a4f7596e949286339549bd4e42dea6d21.tar.bz2
eom-28d48f9a4f7596e949286339549bd4e42dea6d21.tar.xz
EomCloseConfirmationDialog: set max width chars for primary label
This reduce the width of the confirmation dialog
-rw-r--r--src/eom-close-confirmation-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eom-close-confirmation-dialog.c b/src/eom-close-confirmation-dialog.c
index 92a286b..6992b33 100644
--- a/src/eom-close-confirmation-dialog.c
+++ b/src/eom-close-confirmation-dialog.c
@@ -400,6 +400,7 @@ build_single_img_dialog (EomCloseConfirmationDialog *dlg)
primary_label = gtk_label_new (NULL);
gtk_label_set_line_wrap (GTK_LABEL (primary_label), TRUE);
gtk_label_set_use_markup (GTK_LABEL (primary_label), TRUE);
+ gtk_label_set_max_width_chars (GTK_LABEL (primary_label), 88);
#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (primary_label), 0.0);
#else
@@ -603,6 +604,7 @@ build_multiple_imgs_dialog (EomCloseConfirmationDialog *dlg)
primary_label = gtk_label_new (NULL);
gtk_label_set_line_wrap (GTK_LABEL (primary_label), TRUE);
gtk_label_set_use_markup (GTK_LABEL (primary_label), TRUE);
+ gtk_label_set_max_width_chars (GTK_LABEL (primary_label), 88);
#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (primary_label), 0.0);
#else