summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-04-22 15:35:00 +0200
committerraveit65 <[email protected]>2017-04-23 12:17:43 +0200
commit031f26385824b4dc265a182260b0bc3045eaffc4 (patch)
treed3f477ab46d3a4b95b216453dfee0c9fda4d7331
parent613d5c3787be82942305374f05c3ee2bfc984751 (diff)
downloadeom-031f26385824b4dc265a182260b0bc3045eaffc4.tar.bz2
eom-031f26385824b4dc265a182260b0bc3045eaffc4.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 f2b9feb..f7eb91c 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