Add compatibility for Gajim 1.1

This commit is contained in:
Philipp Hörist
2018-10-06 20:14:38 +02:00
parent db2c71b6a1
commit 97c2bfbdd9
62 changed files with 275 additions and 115 deletions

View File

@@ -1,5 +1,4 @@
# -*- 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):
"""

View File

@@ -1,7 +1,7 @@
[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.