Secondary text on palettes should respect the max width - Fixes #4862
When a activity have a title very long without spaces,
the text can't be wraped with the default wrap mode (WORD)
Use WRAP_CHAR to solve this issue.
Gonzalo Odiard
8 years ago
285 | 285 | self._secondary_label.set_line_wrap(True) |
286 | 286 | self._secondary_label.set_ellipsize( |
287 | 287 | style.ELLIPSIZE_MODE_DEFAULT) |
288 | self._secondary_label.set_wrap_mode(Gtk.WrapMode.WORD_CHAR) | |
288 | 289 | self._secondary_label.set_lines(NO_OF_LINES) |
289 | 290 | self._secondary_label.set_justify(Gtk.Justification.FILL) |
290 | 291 | else: |