Propagated Linux-specific changes cross-platform
This commit is contained in:
parent
490398feb9
commit
ae6753f9ea
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/python
|
#! /usr/bin/python
|
||||||
# -*- coding:utf-8 -*-
|
# -*- coding:utf-8 -*-
|
||||||
# © 2012 Skyler Lehmkuhl
|
# © 2012 Skyler Lehmkuhl
|
||||||
# Released under the GPLv3. For more information, see gpl.txt.
|
# Released under the GPLv3. For more information, see gpl.txt.
|
||||||
|
|
@ -199,6 +199,7 @@ elif sys.platform=="win32":
|
||||||
from GUI.StdButtons import DefaultButton, CancelButton
|
from GUI.StdButtons import DefaultButton, CancelButton
|
||||||
from GUI.Files import FileType
|
from GUI.Files import FileType
|
||||||
from GUI.Geometry import offset_rect, rect_sized
|
from GUI.Geometry import offset_rect, rect_sized
|
||||||
|
media_path = ""
|
||||||
SYSTEM="osx"
|
SYSTEM="osx"
|
||||||
TEMPDIR="C:\\Windows\\Temp"
|
TEMPDIR="C:\\Windows\\Temp"
|
||||||
sep = "\\"
|
sep = "\\"
|
||||||
|
|
@ -209,6 +210,7 @@ elif sys.platform=="linux-armv6l":
|
||||||
droid = android.Android()
|
droid = android.Android()
|
||||||
SYSTEM="android"
|
SYSTEM="android"
|
||||||
TEMPDIR="/tmp" # TODO:FIXTHIS
|
TEMPDIR="/tmp" # TODO:FIXTHIS
|
||||||
|
media_path = ""
|
||||||
tb = ""
|
tb = ""
|
||||||
sep = "/"
|
sep = "/"
|
||||||
print str(sys.platform)
|
print str(sys.platform)
|
||||||
|
|
@ -232,6 +234,7 @@ elif sys.platform=="darwin":
|
||||||
SYSTEM_FONTS = list(Cocoa.NSFontManager.sharedFontManager().availableFontFamilies())
|
SYSTEM_FONTS = list(Cocoa.NSFontManager.sharedFontManager().availableFontFamilies())
|
||||||
FONT_PATH = "/Library/Fonts/"
|
FONT_PATH = "/Library/Fonts/"
|
||||||
FONT = u'Times New Roman'
|
FONT = u'Times New Roman'
|
||||||
|
media_path = ""
|
||||||
#app = GUI.application()
|
#app = GUI.application()
|
||||||
SYSTEM="osx"
|
SYSTEM="osx"
|
||||||
TEMPDIR="/tmp"
|
TEMPDIR="/tmp"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue