Project

General

Profile

Bug #128 » xbmc4xbox-weather.3.diff

nuka1195, 17/01/2011 02:54 PM

View differences:

scripts/.modules/script.module.xbmcaddon/lib/xbmcaddon.py (working copy)
# check if we're at root folder of addon
if ( not os.path.isfile( os.path.join( cwd, "addon.xml" ) ) ):
# we're not at root, assume resources/lib/
cwd = os.path.dirname( os.path.dirname( os.path.dirname( cwd ) )
cwd = os.path.dirname( os.path.dirname( cwd ) )
# return result
return cwd
xbmc/GUIWindowWeather.cpp (working copy)
#define CONTROL_BTNREFRESH 2
#define CONTROL_SELECTLOCATION 3
float timeToCallPlugin = 1000;
unsigned int timeToCallPlugin = 1000;
bool forceRefresh = false;
(11-11/13)