Add compatibility for Gajim 1.1
This commit is contained in:
@@ -10,6 +10,12 @@ from gajim.plugins import GajimPlugin
|
||||
from gajim.plugins.helpers import log_calls
|
||||
from gajim.dialogs import ErrorDialog
|
||||
|
||||
# Since Gajim 1.1.0 _() has to be imported
|
||||
try:
|
||||
from gajim.common.i18n import _
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
try:
|
||||
from gajim.gtk.filechoosers import FileChooserDialog
|
||||
NEW_FILECHOOSER = True
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[info]
|
||||
name: Image
|
||||
short_name: image
|
||||
version: 1.0
|
||||
version: 1.1
|
||||
description: This plugin is designed to send a small(0 - 40 kb) graphic image to your contact.
|
||||
Client on the other side must support XEP-0071: XHTML-IM and maintain the scheme data: URI.
|
||||
Psi+ and Jabbim supported this.
|
||||
|
||||
Reference in New Issue
Block a user