|
Lines 721-727
apply_air_config (void)
Link Here
|
| 721 |
options.station[1] = c[1]; |
721 |
options.station[1] = c[1]; |
| 722 |
options.station[2] = c[2]; |
722 |
options.station[2] = c[2]; |
| 723 |
options.station[3] = c[3]; |
723 |
options.station[3] = c[3]; |
| 724 |
snprintf(options.command, 512, PREFIX "/bin/GrabWeather %s", options.station); |
724 |
snprintf(options.command, 512, PREFIX "/libexec/gkrellweather/GrabWeather %s", options.station); |
| 725 |
options.command[511] = 0; |
725 |
options.command[511] = 0; |
| 726 |
snprintf(options.filename, 512, "%s/.wmWeatherReports/%s.dat", |
726 |
snprintf(options.filename, 512, "%s/.wmWeatherReports/%s.dat", |
| 727 |
getenv("HOME"), options.station); |
727 |
getenv("HOME"), options.station); |
|
Lines 986-992
read_default(void)
Link Here
|
| 986 |
options.windspeed_unit = 1; |
986 |
options.windspeed_unit = 1; |
| 987 |
options.pressure_unit = 1; |
987 |
options.pressure_unit = 1; |
| 988 |
strcpy(options.station, DEFAULT_STATION_ID); |
988 |
strcpy(options.station, DEFAULT_STATION_ID); |
| 989 |
snprintf(options.command, 512, "/usr/share/gkrellm/GrabWeather %s", options.station); |
989 |
snprintf(options.command, 512, PREFIX "/libexec/gkrellweather/GrabWeather %s", options.station); |
| 990 |
options.command[511] = 0; |
990 |
options.command[511] = 0; |
| 991 |
snprintf(options.filename, 512, "%s/.wmWeatherReports/%s.dat", |
991 |
snprintf(options.filename, 512, "%s/.wmWeatherReports/%s.dat", |
| 992 |
getenv("HOME"), options.station); |
992 |
getenv("HOME"), options.station); |
| 993 |
- |
|
|