Philipp Hörist pushed to branch master at gajim / gajim
Commits:
828ae5bb by Philipp Hörist at 2018-05-21T19:27:38+02:00
Raise version in desktop.in
- - - - -
1 changed file:
- data/org.gajim.Gajim.desktop.in
Changes:
=====================================
data/org.gajim.Gajim.desktop.in
=====================================
--- a/data/org.gajim.Gajim.desktop.in
+++ b/data/org.gajim.Gajim.desktop.in
@@ -5,7 +5,7 @@ GenericName=Jabber IM Client
Comment=A GTK+ Jabber client
#Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=chat;messaging;im;xmpp;bonjour;voip;
-Version=1.0
+Version=1.0.3
Exec=gajim %u
#Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=org.gajim.Gajim
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/828ae5bb42e08e9b5911caad15f0e40ab5…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/828ae5bb42e08e9b5911caad15f0e40ab5…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
b3162f40 by Philipp Hörist at 2018-05-21T19:17:47+02:00
Detect if we run as flatpak
Fixes #9110
- - - - -
1 changed file:
- gajim/common/app.py
Changes:
=====================================
gajim/common/app.py
=====================================
--- a/gajim/common/app.py
+++ b/gajim/common/app.py
@@ -157,7 +157,7 @@ _dependencies = {
'GSPELL': False,
'IDLE': False,
'RUN_AS_FLATPAK': False,
- }
+}
def is_installed(dependency):
@@ -296,6 +296,10 @@ def detect_dependencies():
except (ImportError, ValueError):
pass
+ # RUN AS FLATPAK
+ if os.path.exists('/app/share/run-as-flatpak'):
+ _dependencies['RUN_AS_FLATPAK'] = True
+
# Print results
for dep, val in _dependencies.items():
log('gajim').info('%-13s %s', dep, val)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/b3162f400c1777bfaf812fe0492258f7dc…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/b3162f400c1777bfaf812fe0492258f7dc…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
59cfddc3 by Philipp Hörist at 2018-05-21T18:57:18+02:00
Fix first start with no accounts
- - - - -
1 changed file:
- gajim/application.py
Changes:
=====================================
gajim/application.py
=====================================
--- a/gajim/application.py
+++ b/gajim/application.py
@@ -356,10 +356,10 @@ class GajimApplication(Gtk.Application):
self.add_action(act)
accounts_list = sorted(app.config.get_per('accounts'))
- if not accounts_list:
- return
if 'Local' in accounts_list:
accounts_list.remove('Local')
+ if not accounts_list:
+ return
if len(accounts_list) > 1:
for acc in accounts_list:
self.add_account_actions(acc)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/59cfddc3ca501726384f63d638a58d145b…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/59cfddc3ca501726384f63d638a58d145b…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
714d70cb by Philipp Hörist at 2018-05-21T18:49:06+02:00
Dont get current version from config
- - - - -
1 changed file:
- gajim/common/app.py
Changes:
=====================================
gajim/common/app.py
=====================================
--- a/gajim/common/app.py
+++ b/gajim/common/app.py
@@ -37,6 +37,7 @@ from collections import namedtuple
import nbxmpp
+import gajim
from gajim.common import config as c_config
from gajim.common import configpaths
from gajim.common import ged as ged_module
@@ -46,7 +47,7 @@ from gajim.common.events import Events
interface = None # The actual interface (the gtk one for the moment)
thread_interface = lambda *args: None # Interface to run a thread and then a callback
config = c_config.Config()
-version = config.get('version')
+version = gajim.__version__
connections = {} # 'account name': 'account (connection.Connection) instance'
avatar_cache = {}
ipython_window = None
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/714d70cb233f6ffd30804142e622a8d769…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/714d70cb233f6ffd30804142e622a8d769…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
0ea721fb by Philipp Hörist at 2018-05-21T18:38:47+02:00
Fix log message
Presence without vcard hash is not invalid
- - - - -
1 changed file:
- gajim/common/connection_handlers_events.py
Changes:
=====================================
gajim/common/connection_handlers_events.py
=====================================
--- a/gajim/common/connection_handlers_events.py
+++ b/gajim/common/connection_handlers_events.py
@@ -2250,7 +2250,8 @@ class RoomAvatarReceivedEvent(nec.NetworkIncomingEvent):
def generate(self):
vcard = self.stanza.getTag('x', namespace=nbxmpp.NS_VCARD_UPDATE)
if vcard is None:
- log.warning('Invalid room self presence:\n%s', self.stanza)
+ app.log('avatar').info(
+ '%s has no avatar published (vCard)', self.jid)
return
self.avatar_sha = vcard.getTagData('photo')
return True
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/0ea721fbf1406b9f5cb10758453ac9f826…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/0ea721fbf1406b9f5cb10758453ac9f826…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
7040ea6b by Philipp Hörist at 2018-05-21T02:39:29+02:00
Move module calls into init
On Linux ctypes has not attr windll, move it into the __init__()
so it does not get evaluatet on module import
- - - - -
1 changed file:
- gajim/common/idle.py
Changes:
=====================================
gajim/common/idle.py
=====================================
--- a/gajim/common/idle.py
+++ b/gajim/common/idle.py
@@ -145,14 +145,13 @@ class XssIdleMonitor:
class WindowsIdleMonitor:
-
- OpenInputDesktop = ctypes.windll.user32.OpenInputDesktop
- CloseDesktop = ctypes.windll.user32.CloseDesktop
- SystemParametersInfo = ctypes.windll.user32.SystemParametersInfoW
- GetTickCount = ctypes.windll.kernel32.GetTickCount
- GetLastInputInfo = ctypes.windll.user32.GetLastInputInfo
-
def __init__(self):
+ self.OpenInputDesktop = ctypes.windll.user32.OpenInputDesktop
+ self.CloseDesktop = ctypes.windll.user32.CloseDesktop
+ self.SystemParametersInfo = ctypes.windll.user32.SystemParametersInfoW
+ self.GetTickCount = ctypes.windll.kernel32.GetTickCount
+ self.GetLastInputInfo = ctypes.windll.user32.GetLastInputInfo
+
class LASTINPUTINFO(ctypes.Structure):
_fields_ = [('cbSize', ctypes.c_uint), ('dwTime', ctypes.c_uint)]
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/7040ea6b2ea7cbee1cab8d58a61185b268…
---
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/7040ea6b2ea7cbee1cab8d58a61185b268…
You're receiving this email because of your account on dev.gajim.org.