diff options
author | raveit65 <[email protected]> | 2017-04-22 15:35:00 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-04-28 08:24:27 +0200 |
commit | 28d48f9a4f7596e949286339549bd4e42dea6d21 (patch) | |
tree | 007835206643cf4775ed06211f9471e47cb29ddc /src | |
parent | a627cb4a4d33d760e34dea37b0e3812207d7a657 (diff) | |
download | eom-28d48f9a4f7596e949286339549bd4e42dea6d21.tar.bz2 eom-28d48f9a4f7596e949286339549bd4e42dea6d21.tar.xz |
EomCloseConfirmationDialog: set max width chars for primary label
This reduce the width of the confirmation dialog
Diffstat (limited to 'src')
-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 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 |