Step towards fix of translation in Windows.

svn: r14270
This commit is contained in:
Peter Landgren 2010-02-07 18:03:32 +00:00
parent 06f2bbf659
commit 5b8f3b4df1

View File

@ -51,6 +51,7 @@ import gtk
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
from gui.views.pageview import PageView from gui.views.pageview import PageView
import Utils import Utils
import constfunc
import config import config
from const import TEMP_DIR from const import TEMP_DIR
@ -61,11 +62,11 @@ from const import TEMP_DIR
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
def get_identity(): def get_identity():
if Utils.lin(): if constfunc.lin():
platform = "X11" platform = "X11"
elif Utils.win(): elif constfunc.win():
platform = "Windows" platform = "Windows"
elif Utils.mac(): elif constfunc.mac():
platform = "Macintosh" platform = "Macintosh"
else: else:
platform = "Unknown" platform = "Unknown"