Add compatibility for Gajim 1.1
This commit is contained in:
@@ -24,15 +24,19 @@ Acronyms expander plugin.
|
||||
:license: GPL
|
||||
'''
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import GObject
|
||||
|
||||
from gajim.plugins import GajimPlugin
|
||||
from gajim.plugins.helpers import log, log_calls
|
||||
|
||||
# Since Gajim 1.1.0 _() has to be imported
|
||||
try:
|
||||
from gajim.common.i18n import _
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
class AcronymsExpanderPlugin(GajimPlugin):
|
||||
|
||||
@log_calls('AcronymsExpanderPlugin')
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[info]
|
||||
name: Acronyms Expander
|
||||
short_name: acronyms_expander
|
||||
version: 0.3
|
||||
version: 0.4
|
||||
description: Replaces acronyms (or other strings) with given expansions/substitutes.
|
||||
authors: Mateusz Biliński <mateusz@bilinski.it>
|
||||
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/AcronymsExpanderPlugin
|
||||
|
||||
Reference in New Issue
Block a user