Skip to content

Commit

Permalink
Optional Char Wrap on long strings
Browse files Browse the repository at this point in the history
  • Loading branch information
linux-man committed Sep 2, 2021
1 parent cb8a9e5 commit 121bbc2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
nemo-mediainfo-tab (1.0.4) focal; urgency=medium

* Optional Char Wrap on long strings

-- Caldas Lopes <joao.caldas.lopes@gmail.com> Thu, 02 Sep 2021 03:05:23 +0100

nemo-mediainfo-tab (1.0.3) focal; urgency=medium

* Mediainfo 3 dependency
Expand Down
2 changes: 2 additions & 0 deletions nemo-extension/nemo-mediainfo-tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ def get_property_pages(self, files):
label.set_halign(Gtk.Align.START)
label.set_selectable(True)
label.set_line_wrap(True)
label.set_line_wrap_mode(2) #PANGO_WRAP_WORD_CHAR
#label.set_max_width_chars(160)
label.show()
self.grid.attach(label, 1, top, 1, 1)
top += 1
Expand Down

0 comments on commit 121bbc2

Please sign in to comment.