Add compatibility for Gajim 1.1
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
# -*- 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')
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[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
|
||||
|
||||
Reference in New Issue
Block a user