diff options
author | raveit65 <[email protected]> | 2019-11-22 21:29:30 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-11-22 21:29:30 +0100 |
commit | ea81a5e3bd1cc8e9ba2b92ced9db1ebae803e24d (patch) | |
tree | 23472009e1e9bcdd6b04a9450bcd12d0cecb4e0b /libcaja-private/caja-module.c | |
parent | 8c07068221e5702372affbbbbdb57ce0ba33d22b (diff) | |
download | caja-ea81a5e3bd1cc8e9ba2b92ced9db1ebae803e24d.tar.bz2 caja-ea81a5e3bd1cc8e9ba2b92ced9db1ebae803e24d.tar.xz |
canvas-item: Don't hyphenate filenames
fixes https://github.com/mate-desktop/caja/issues/1284
Pango 1.44 got the ability to automatically hyphenate on line breaks,
which is on by default, but can be set off by a new attribute.
As a result, we now hyphenate filenames, which is confusing, because
a filename may already include hyphens.
To restore the previous behavior, let's not insert hyphens when
breaking filenames in multiple lines.
Inspired by https://gitlab.gnome.org/GNOME/nautilus/commit/9738d85
Diffstat (limited to 'libcaja-private/caja-module.c')
0 files changed, 0 insertions, 0 deletions