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:
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