diff options
author | raveit65 <[email protected]> | 2017-04-22 15:35:00 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-04-23 12:17:43 +0200 |
commit | 031f26385824b4dc265a182260b0bc3045eaffc4 (patch) | |
tree | d3f477ab46d3a4b95b216453dfee0c9fda4d7331 /src/eom-close-confirmation-dialog.c | |
parent | 613d5c3787be82942305374f05c3ee2bfc984751 (diff) | |
download | eom-031f26385824b4dc265a182260b0bc3045eaffc4.tar.bz2 eom-031f26385824b4dc265a182260b0bc3045eaffc4.tar.xz |
EomCloseConfirmationDialog: set max width chars for primary label
This reduce the width of the confirmation dialog
Diffstat (limited to 'src/eom-close-confirmation-dialog.c')
-rw-r--r-- | src/eom-close-confirmation-dialog.c | 2 |
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 |