Bug #128 » xbmc4xbox-weather.3.diff
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;
|
||