Add compatibility for Gajim 1.1
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import GdkPixbuf
|
||||
|
||||
from gajim.common import app
|
||||
from gajim.plugins import GajimPlugin
|
||||
from gajim.plugins.helpers import log_calls
|
||||
from gajim import gtkgui_helpers
|
||||
|
||||
# Since Gajim 1.1.0 _() has to be imported
|
||||
try:
|
||||
from gajim.common.i18n import _
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
class GuiForMe(GajimPlugin):
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[info]
|
||||
name: GUI For Me
|
||||
short_name: gui_for_me
|
||||
version: 0.4
|
||||
version: 0.5
|
||||
description: Adds a button for the '/me' command.
|
||||
authors: BomberMan
|
||||
copper
|
||||
Denis Fomin <fominde@gmail.com>
|
||||
homepage: http://trac-plugins.gajim.org/wiki/GUIForMePlugin
|
||||
min_gajim_version: 0.16.11
|
||||
min_gajim_version: 1.0.0
|
||||
|
||||
Reference in New Issue
Block a user