From ae6753f9ea9f7b356c8d9b82bed8b61edd2790eb Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 20 Jan 2012 21:29:04 -0500 Subject: [PATCH] Propagated Linux-specific changes cross-platform --- svlgui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/svlgui.py b/svlgui.py index 9759945..6775273 100644 --- a/svlgui.py +++ b/svlgui.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/python # -*- coding:utf-8 -*- # © 2012 Skyler Lehmkuhl # 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.Files import FileType from GUI.Geometry import offset_rect, rect_sized + media_path = "" SYSTEM="osx" TEMPDIR="C:\\Windows\\Temp" sep = "\\" @@ -209,6 +210,7 @@ elif sys.platform=="linux-armv6l": droid = android.Android() SYSTEM="android" TEMPDIR="/tmp" # TODO:FIXTHIS + media_path = "" tb = "" sep = "/" print str(sys.platform) @@ -232,6 +234,7 @@ elif sys.platform=="darwin": SYSTEM_FONTS = list(Cocoa.NSFontManager.sharedFontManager().availableFontFamilies()) FONT_PATH = "/Library/Fonts/" FONT = u'Times New Roman' + media_path = "" #app = GUI.application() SYSTEM="osx" TEMPDIR="/tmp"