Philipp Hörist pushed to branch master at gajim / gajim

Commits:
c8c44f5a by Philipp Hörist at 2018-08-18T10:35:21Z
Fix XMLConsole

- Print the stream header again
- Fix template button, it should not be translated

- - - - -


2 changed files:

- gajim/common/connection.py
- gajim/data/gui/xml_console_window.ui


Changes:

=====================================
gajim/common/connection.py
=====================================
--- 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)))
 


=====================================
gajim/data/gui/xml_console_window.ui
=====================================
--- a/gajim/data/gui/xml_console_window.ui
+++ b/gajim/data/gui/xml_console_window.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.20.0 -->
+<!-- Generated with glade 3.22.1 -->
 <interface>
   <requires lib="gtk+" version="3.20"/>
   <object class="GtkBox" id="box">
@@ -105,7 +105,7 @@
               <object class="GtkLabel">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="label" translatable="yes">Message</property>
+                <property name="label">Message</property>
               </object>
             </child>
           </object>
@@ -118,7 +118,7 @@
               <object class="GtkLabel">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="label" translatable="yes">Presence</property>
+                <property name="label">Presence</property>
               </object>
             </child>
           </object>
@@ -131,7 +131,7 @@
               <object class="GtkLabel">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="label" translatable="yes">Iq</property>
+                <property name="label">Iq</property>
               </object>
             </child>
           </object>



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/c8c44f5a780b0126fb8ff5e8979b6a1f9d10092d

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/c8c44f5a780b0126fb8ff5e8979b6a1f9d10092d
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to