Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim

Commits:
9ba97c4b by Philipp Hörist at 2018-11-16T14:28:28Z
Windows: Get objdump output as string

Otherwise we have to guess the encoding of the host system

- - - - -
adfcfb1b by Philipp Hörist at 2018-11-16T14:28:28Z
Fix incorrect contact status on tabs

- - - - -
5271f192 by Philipp Hörist at 2018-11-16T14:28:40Z
Windows: Fix build

data is now a str

- - - - -


2 changed files:

- gajim/common/connection_handlers.py
- win/misc/depcheck.py


Changes:

=====================================
gajim/common/connection_handlers.py
=====================================
@@ -146,6 +146,7 @@ class ConnectionHandlersBase:
                 obj.contact_list.append(obj.contact)
             obj.contact.resource = resource
 
+            obj.need_redraw = True
             obj.need_add_in_roster = True
 
         if not app.jid_is_transport(jid) and len(obj.contact_list) == 1:


=====================================
win/misc/depcheck.py
=====================================
@@ -47,11 +47,11 @@ SYSTEM_LIBS = ['advapi32.dll',
 def get_dependencies(filename):
     deps = []
     try:
-        data = subprocess.check_output(["objdump", "-p", filename])
+        data = subprocess.getoutput("objdump -p %s" % filename)
     except Exception as error:
         print(error)
         return deps
-    data = data.decode("utf-8")
+
     for line in data.splitlines():
         line = line.strip()
         if line.startswith("DLL Name:"):



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/compare/df62671217256defc2b7e51b1e5ac76da872c164...5271f192949a52b064ccb36b286b59646d00c4bb

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/compare/df62671217256defc2b7e51b1e5ac76da872c164...5271f192949a52b064ccb36b286b59646d00c4bb
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to