Add compatibility for Gajim 1.1
This commit is contained in:
@@ -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())]
|
||||
|
||||
Reference in New Issue
Block a user