Commit 97c2bfbd authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Add compatibility for Gajim 1.1

parent db2c71b6
......@@ -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')
......
[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
......@@ -32,6 +32,12 @@ from gajim.plugins import GajimPlugin
from gajim.plugins.helpers import log, log_calls
from gajim.plugins.gui import GajimPluginConfigDialog
# Since Gajim 1.1.0 _() has to be imported
try:
from gajim.common.i18n import _
except ImportError:
pass
class AntiSpamPlugin(GajimPlugin):
@log_calls('AntiSpamPlugin')
......
[info]
name: Anti Spam
short_name: anti_spam
version: 1.4.4
version: 1.4.5
description: Block some incoming messages.
authors = Yann Leboulanger <asterix@lagaule.org>
Denis Fomin <fominde@gmail.com>
......
[info]
name: Ayatana Appindicator integration
short_name: appindicator_integration
version: 1.1.0
version: 1.1.1
description: This plugin integrates Gajim with the Ayatana AppIndicator. You must have gir1.2-ayatanaappindicator3-0.1 installed to enable this plugin.
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/AppindicatorSupportPlugin
authors: Denis Borenko <borenko@rambler.ru>
......
......@@ -18,13 +18,19 @@ try:
from gi.repository import AyatanaAppIndicator3 as appindicator
ERRORMSG = None
except (ValueError, ImportError):
ERRORMSG = _('Please install libappindicator3')
ERRORMSG = 'Please install libappindicator3'
from gajim.common import app, ged
from gajim.common import configpaths
from gajim.plugins import GajimPlugin
from gajim.plugins.helpers import log_calls
# Since Gajim 1.1.0 _() has to be imported
try:
from gajim.common.i18n import _
except ImportError:
pass
class AppindicatorIntegrationPlugin(GajimPlugin):
......
[info]
name: Banner Tweaks
short_name: banner_tweaks
version: 0.1.3
version: 0.1.4
description: Allows user to tweak chat window banner appearance (eg. make it compact).
authors = Mateusz Biliński <mateusz@bilinski.it>
homepage = http://trac-plugins.gajim.org/wiki/BannerTweaksPlugin
......
......@@ -29,8 +29,6 @@ http://trac.gajim.org/attachment/ticket/4133/gajim-chatbanneroptions-svn10008.pa
:license: GPL
'''
import sys
from gi.repository import Gtk
from gi.repository import GObject
from gajim import message_control
......@@ -38,9 +36,16 @@ from gajim.common import app
from gajim.common import helpers
from gajim.plugins import GajimPlugin
from gajim.plugins.helpers import log, log_calls
from gajim.plugins.helpers import log_calls
from gajim.plugins.gui import GajimPluginConfigDialog
# Since Gajim 1.1.0 _() has to be imported
try:
from gajim.common.i18n import _
except ImportError:
pass
class BannerTweaksPlugin(GajimPlugin):
@log_calls('BannerTweaksPlugin')
......
[info]
name: Birthday reminder
short_name: birthday_reminder
version: 1.0.0
version: 1.0.1
description: Reminds you if a contact of yours has birthday
authors: Evgeniy Popov <evgeniypopov@gmail.com>
Philipp Hörist <philipp@hoerist.com>
......
......@@ -11,6 +11,12 @@ from gajim.common import configpaths
from gajim.common import app
from gajim.common import ged
# Since Gajim 1.1.0 _() has to be imported
try:
from gajim.common.i18n import _
except ImportError:
pass
log = logging.getLogger('gajim.plugin_system.birthday')
TITLE = _('%s has birthday today')
......
# -*- coding: utf-8 -*-
##
import unicodedata
from gi.repository import GObject
......@@ -9,7 +8,12 @@ from gajim.common import ged
from gajim.common import app
from gajim.common import helpers
from gajim import gtkgui_helpers
import unicodedata
# Since Gajim 1.1.0 _() has to be imported
try:
from gajim.common.i18n import _
except ImportError:
pass
def paragraph_direction_mark(text):
"""
......
[info]
name: Chatstate in roster
short_name: chatstate
version: 0.5.5
version: 0.5.6
description: Chat State Notifications in roster.
Font color of the contact varies depending on the chat state.
The plugin does not work if you use custom font color for contacts in roster.
......
# -*- coding: utf-8 -*-
from gi.repository import Gtk
from gi.repository import Gdk
......@@ -7,6 +5,12 @@ from gajim.common import app
from gajim.plugins import GajimPlugin
from gajim.plugins.helpers import log_calls
# Since Gajim 1.1.0 _() has to be imported
try:
from gajim.common.i18n import _
except ImportError:
pass
class ClickableNicknames(GajimPlugin):
......
[info]
name: Clickable Nicknames
short_name: clickable_nicknames
version: 0.6
version: 0.7
description: Clickable nicknames in the conversation textview.
authors: Andrey Musikhin <melomansegfault@gmail.com>
Denis Fomin <fominde@gmail.com>
homepage: http://trac-plugins.gajim.org/wiki/ClickableNicknamesPlugin
min_gajim_version: 0.16.11
min_gajim_version: 1.0.0
# -*- 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')
......
[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
# -*- coding: utf-8 -*-
import subprocess
from gi.repository import Gtk
from gi.repository import GObject
import subprocess
from gajim.common import app
from gajim.plugins import GajimPlugin
from gajim.plugins.helpers import log_calls, log
from gajim.plugins.helpers import log_calls
from gajim.plugins.gui import GajimPluginConfigDialog
# Since Gajim 1.1.0 _() has to be imported
try:
from gajim.common.i18n import _
except ImportError:
pass
class FlashingKeyboard(GajimPlugin):
@log_calls('FlashingKeyboard')
......
[info]
name: Flashing Keyboard
short_name: flashing_keyboard
version: 0.4
version: 0.5
description: Flashing keyboard led when there are unread messages.
authors: Denis Fomin <fominde@gmail.com>
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/flashingkeyboardplugin
min_gajim_version: 0.16.11
min_gajim_version: 1.0.0
# -*- 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):
......
[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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment