diff options
author | raveit65 <[email protected]> | 2017-08-19 15:11:49 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-26 11:33:46 +0200 |
commit | 90ccf70a06beee19f55b1d36a4b4ae33000758d5 (patch) | |
tree | f4f47227ee201fcf446b58c5aa731c78daf7cccf | |
parent | 8d17eb9d48491ba9b1d96b3409730455f8cffba1 (diff) | |
download | caja-90ccf70a06beee19f55b1d36a4b4ae33000758d5.tar.bz2 caja-90ccf70a06beee19f55b1d36a4b4ae33000758d5.tar.xz |
open-with-dialog: set max-char-width for a label
use max_char_width for 'Select and application to view his description'
label, as this can cause a window size jumping for this gui.
Depends on language translations.
Ie. german language was affected.
-rw-r--r-- | libcaja-private/caja-open-with-dialog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcaja-private/caja-open-with-dialog.c b/libcaja-private/caja-open-with-dialog.c index 07179683..f43ea133 100644 --- a/libcaja-private/caja-open-with-dialog.c +++ b/libcaja-private/caja-open-with-dialog.c @@ -884,6 +884,7 @@ caja_open_with_dialog_init (CajaOpenWithDialog *dialog) gtk_misc_set_alignment (GTK_MISC (dialog->details->desc_label), 0.0, 0.5); #endif gtk_label_set_justify (GTK_LABEL (dialog->details->desc_label), GTK_JUSTIFY_LEFT); + gtk_label_set_max_width_chars (GTK_LABEL (dialog->details->desc_label), 54); gtk_label_set_line_wrap (GTK_LABEL (dialog->details->desc_label), TRUE); gtk_label_set_single_line_mode (GTK_LABEL (dialog->details->desc_label), FALSE); gtk_box_pack_start (GTK_BOX (vbox2), dialog->details->desc_label, FALSE, FALSE, 0); |