Add compatibility for Gajim 1.1
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##
|
||||
import os
|
||||
import logging
|
||||
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import GdkPixbuf
|
||||
import os
|
||||
import logging
|
||||
|
||||
from clients_icons.clients import CLIENTS, LIBPURPLE_CLIENTS
|
||||
|
||||
@@ -15,6 +13,12 @@ from gajim.common import ged
|
||||
from gajim.common import app
|
||||
from gajim.common import caps_cache
|
||||
|
||||
# Since Gajim 1.1.0 _() has to be imported
|
||||
try:
|
||||
from gajim.common.i18n import _
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
log = logging.getLogger('gajim.plugin_system.clients_icons')
|
||||
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[info]
|
||||
name: Clients icons
|
||||
short_name: clients_icons
|
||||
version: 7.2
|
||||
version: 7.3
|
||||
description: Shows client icons in roster and in groupchats.
|
||||
authors: Denis Fomin <fominde@gmail.com>
|
||||
Artem Klyop <art.klyop@gmail.com>
|
||||
Thilo Molitor <thilo@eightysoft.de>
|
||||
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/ClientsIconsPlugin
|
||||
min_gajim_version: 0.16.11
|
||||
min_gajim_version: 1.0.0
|
||||
|
||||
Reference in New Issue
Block a user