Commit c8c44f5a authored by Philipp Hörist's avatar Philipp Hörist

Fix XMLConsole

- Print the stream header again
- Fix template button, it should not be translated
parent 083f5ee5
...@@ -439,10 +439,10 @@ class CommonConnection: ...@@ -439,10 +439,10 @@ class CommonConnection:
def _event_dispatcher(self, realm, event, data): def _event_dispatcher(self, realm, event, data):
if realm == '': if realm == '':
if event == 'STANZA_RECEIVED': if event == 'STANZA RECEIVED':
app.nec.push_incoming_event(StanzaReceivedEvent( app.nec.push_incoming_event(StanzaReceivedEvent(
None, conn=self, stanza_str=str(data))) None, conn=self, stanza_str=str(data)))
elif event == 'STANZA_SENT': elif event == 'DATA SENT':
app.nec.push_incoming_event(StanzaSentEvent( app.nec.push_incoming_event(StanzaSentEvent(
None, conn=self, stanza_str=str(data))) None, conn=self, stanza_str=str(data)))
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 --> <!-- Generated with glade 3.22.1 -->
<interface> <interface>
<requires lib="gtk+" version="3.20"/> <requires lib="gtk+" version="3.20"/>
<object class="GtkBox" id="box"> <object class="GtkBox" id="box">
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label" translatable="yes">Message</property> <property name="label">Message</property>
</object> </object>
</child> </child>
</object> </object>
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label" translatable="yes">Presence</property> <property name="label">Presence</property>
</object> </object>
</child> </child>
</object> </object>
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label" translatable="yes">Iq</property> <property name="label">Iq</property>
</object> </object>
</child> </child>
</object> </object>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment