notifications: enable wrap
This commit is contained in:
1 parent
670ebce06a
commit
05a55cfffa
1 file changed
+1
-3
@@ -22,10 +22,8 @@ class Panel(ScreenPanel):
|
||||
super().__init__(screen, title)
|
||||
self.empty = _("Notification log empty")
|
||||
self.tb = Gtk.TextBuffer(text=self.empty)
|
||||
tv = Gtk.TextView()
|
||||
tv = Gtk.TextView(editable=False, cursor_visible=False, wrap_mode=Gtk.WrapMode.WORD_CHAR)
|
||||
tv.set_buffer(self.tb)
|
||||
tv.set_editable(False)
|
||||
tv.set_cursor_visible(False)
|
||||
tv.connect("size-allocate", self._autoscroll)
|
||||
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
|
||||
Reference in new issue
Block a user