Now About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/chat.py
diff options
context:
space:
mode:
authorLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-10-06 22:22:03 +0100
committerLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-10-06 22:22:03 +0100
commit4ddbd0142fec70c8c9575d6f2f9b5ef93a93bd90 (patch)
tree1def62234d534d2f9d884adbb02b3ae926fb8467 /src/chat.py
parentb6ff088fcaee86f1518bf0e77a478638af50aa32 (diff)
chat,main: Fix client crashes on Fedora version of Gtk4
Diffstat (limited to 'src/chat.py')
-rw-r--r--src/chat.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/chat.py b/src/chat.py
index b82b4a3..743778e 100644
--- a/src/chat.py
+++ b/src/chat.py
@@ -102,6 +102,10 @@ class WeegtkChat(Adw.Bin):
self.messages.scroll_to(n_items - 1, Gtk.ListScrollFlags.FOCUS)
self.window.emit("scroll_child", Gtk.ScrollType.END, False)
+ def update_prompt(self):
+ # TODO code copied from QWeechat, figure out what I should do with it
+ pass
+
def setup_list_item(self, factory, list_item, *user_data):
message = WeegtkMessage()
list_item.set_child(message)
@@ -161,7 +165,7 @@ class WeegtkChat(Adw.Bin):
text = entry_buffer.get_text()
entry_buffer.set_text("", 0)
self.emit("buffer_input", self.data['full_name'], text)
-
+
def open_file_dialog(self, dialog, result, caller):
try:
file = dialog.open_finish(result)