Add compatibility for Gajim 1.1

This commit is contained in:
Philipp Hörist
2018-10-06 20:14:38 +02:00
parent db2c71b6a1
commit 97c2bfbdd9
62 changed files with 275 additions and 115 deletions

View File

@@ -1,18 +1,23 @@
# -*- coding: utf-8 -*-
import os
import dbus
import datetime as dt
from gi.repository import GObject
import os
from gajim.common import app
from gajim.common import ged
from gajim.common import dbus_support
from gajim.plugins import GajimPlugin
from gajim.plugins.helpers import log_calls, log
from gajim.plugins.helpers import log_calls
from gajim.common.pep import ACTIVITIES
# Since Gajim 1.1.0 _() has to be imported
try:
from gajim.common.i18n import _
except ImportError:
pass
HAMSTAER_INTERFACE = 'org.gnome.Hamster'
SUBACTIVITIES = []
subactivity_ = [list(ACTIVITIES[x].keys()) for x in list(ACTIVITIES.keys())]