diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-10-05 23:29:53 +0100 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-10-05 23:29:53 +0100 |
commit | 6199578ed18101c2245b3f2b28e0e579b6e59833 (patch) | |
tree | 1728688d933784a9407b4e0565cfdce59a2ddd37 /src/main.py | |
parent | ddf331a607e6286bccba8eaa55916544c1029a58 (diff) |
chat: Improve system message handling
Not 100% happy with how system messages are displayed. Need to find a
better system for how to handle them.
Diffstat (limited to 'src/main.py')
-rw-r--r-- | src/main.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.py b/src/main.py index 1b45586..5a1427a 100644 --- a/src/main.py +++ b/src/main.py @@ -161,7 +161,6 @@ class WeegtkApplication(Adw.Application): def _parse_line(self, message): """Parse a WeeChat message with a buffer line.""" - # TODO implement text for chats for obj in message.objects: lines = [] if obj.objtype != 'hda' or obj.value['path'][-1] != 'line_data': @@ -182,7 +181,6 @@ class WeegtkApplication(Adw.Application): if message.msgid == 'listlines': lines.reverse() for line in lines: - #print(line) self.buffers[line[0]].display(*line[1]) def _parse_nicklist(self, message): @@ -325,6 +323,7 @@ class WeegtkApplication(Adw.Application): # Only make chats visible on main screen if True or buf.is_chat(): + test_label = Gtk.Label(label="Hello") self.props.active_window.stack.add_titled(buf, name=buf_name, title=buf_name) def buffer_input(self, source_object, full_name, text): |