Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/latex
diff options
context:
space:
mode:
authorPhilipp Hörist <forenjunkie@chello.at>2017-07-17 02:42:50 +0300
committerPhilipp Hörist <forenjunkie@chello.at>2017-08-18 22:35:29 +0300
commit9ce1c5b96120b412e5fbbe25bb03b9ab245a4221 (patch)
tree3884f1ad0ec35b224cc57f467c2e24d2776e86c8 /latex
parent507bf9a93394d9db3fddd696183b3b8920ff92d8 (diff)
Use absolute imports on all pluginsomemo_2.3.6
This is necessary because Gajim is with 0.16.11 a python package
Diffstat (limited to 'latex')
-rw-r--r--latex/latex.py10
-rw-r--r--latex/manifest.ini4
2 files changed, 7 insertions, 7 deletions
diff --git a/latex/latex.py b/latex/latex.py
index d5ed3ff..0387424 100644
--- a/latex/latex.py
+++ b/latex/latex.py
@@ -32,10 +32,10 @@ from tempfile import mkstemp, mkdtemp
import random
from subprocess import Popen, PIPE
-from common import gajim
-from plugins import GajimPlugin
-from plugins.helpers import log, log_calls
-from plugins.gui import GajimPluginConfigDialog
+from gajim.common import app
+from gajim.plugins import GajimPlugin
+from gajim.plugins.helpers import log, log_calls
+from gajim.plugins.gui import GajimPluginConfigDialog
Gdk.threads_init()
@@ -145,7 +145,7 @@ class LatexRenderer(Thread):
def fg_str(fmt):
try:
return [{'hex' : '+level-colors', 'tex' : '-fg'}[fmt],
- gajim.interface.get_fg_color(fmt)]
+ app.interface.get_fg_color(fmt)]
except KeyError:
# interface may not be available when we test latex at startup
return []
diff --git a/latex/manifest.ini b/latex/manifest.ini
index a6e6ef5..bad7346 100644
--- a/latex/manifest.ini
+++ b/latex/manifest.ini
@@ -1,9 +1,9 @@
[info]
name: Latex
short_name: latex
-version: 0.3.1
+version: 0.3.2
description: render received latex code
authors: Yves Fischer <yvesf@xapek.org>
Yann Leboulanger <asterix@lagaule.org>
homepage: http://trac-plugins.gajim.org/wiki/LatexPlugin
-min_gajim_version: 0.16.10
+min_gajim_version: 0.16.11