From c8c44f5a780b0126fb8ff5e8979b6a1f9d10092d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 18 Aug 2018 12:35:21 +0200 Subject: [PATCH] Fix XMLConsole - Print the stream header again - Fix template button, it should not be translated --- gajim/common/connection.py | 4 ++-- gajim/data/gui/xml_console_window.ui | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gajim/common/connection.py b/gajim/common/connection.py index 3df254e84..dfb8f6379 100644 --- a/gajim/common/connection.py +++ b/gajim/common/connection.py @@ -439,10 +439,10 @@ class CommonConnection: def _event_dispatcher(self, realm, event, data): if realm == '': - if event == 'STANZA_RECEIVED': + if event == 'STANZA RECEIVED': app.nec.push_incoming_event(StanzaReceivedEvent( None, conn=self, stanza_str=str(data))) - elif event == 'STANZA_SENT': + elif event == 'DATA SENT': app.nec.push_incoming_event(StanzaSentEvent( None, conn=self, stanza_str=str(data))) diff --git a/gajim/data/gui/xml_console_window.ui b/gajim/data/gui/xml_console_window.ui index f80a42e38..a8a29a293 100644 --- a/gajim/data/gui/xml_console_window.ui +++ b/gajim/data/gui/xml_console_window.ui @@ -1,5 +1,5 @@ - + @@ -105,7 +105,7 @@ True False - Message + Message @@ -118,7 +118,7 @@ True False - Presence + Presence @@ -131,7 +131,7 @@ True False - Iq + Iq