Now About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.py')
-rw-r--r--src/main.py3
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):