From 5b8f3b4df1869adf31530a9018d1e2b2723d85f6 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Sun, 7 Feb 2010 18:03:32 +0000 Subject: [PATCH] Step towards fix of translation in Windows. svn: r14270 --- src/plugins/view/htmlrenderer.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/view/htmlrenderer.py b/src/plugins/view/htmlrenderer.py index e5499c2f5..2bf30c99d 100644 --- a/src/plugins/view/htmlrenderer.py +++ b/src/plugins/view/htmlrenderer.py @@ -51,6 +51,7 @@ import gtk #------------------------------------------------------------------------- from gui.views.pageview import PageView import Utils +import constfunc import config from const import TEMP_DIR @@ -61,11 +62,11 @@ from const import TEMP_DIR #------------------------------------------------------------------------- def get_identity(): - if Utils.lin(): + if constfunc.lin(): platform = "X11" - elif Utils.win(): + elif constfunc.win(): platform = "Windows" - elif Utils.mac(): + elif constfunc.mac(): platform = "Macintosh" else: platform = "Unknown"