Lines 1-19
Link Here
|
1 |
--- gkrellweather.c.orig Mon Mar 31 13:12:57 2003 |
1 |
--- gkrellweather.c.orig Mon Mar 31 13:12:57 2003 |
2 |
+++ gkrellweather.c Sun Jul 13 14:30:14 2003 |
2 |
+++ gkrellweather.c Sun Jul 13 14:30:14 2003 |
3 |
@@ -983,7 +983,7 @@ |
3 |
@@ -986,7 +986,7 @@ |
4 |
options.windspeed_unit = 1; |
4 |
options.windspeed_unit = 1; |
5 |
options.pressure_unit = 1; |
5 |
options.pressure_unit = 1; |
6 |
strcpy(options.station, DEFAULT_STATION_ID); |
6 |
strcpy(options.station, DEFAULT_STATION_ID); |
7 |
- sprintf(options.command, "/usr/share/gkrellm/GrabWeather %s", options.station); |
7 |
- snprintf(options.command, 512, "/usr/share/gkrellm/GrabWeather %s", options.station); |
8 |
+ sprintf(options.command, "GrabWeather %s", options.station); |
8 |
+ snprintf(options.command, 512, "GrabWeather %s", options.station); |
9 |
sprintf(options.filename, "%s/.wmWeatherReports/%s.dat", |
9 |
options.command[511] = 0; |
10 |
getenv("HOME"), options.station); |
10 |
snprintf(options.filename, 512, "%s/.wmWeatherReports/%s.dat", |
11 |
} |
11 |
getenv("HOME"), options.station); |
12 |
@@ -993,6 +993,7 @@ |
12 |
@@ -998,6 +998,7 @@ |
13 |
gkrellm_init_plugin(void) |
13 |
gkrellm_init_plugin(void) |
14 |
{ |
14 |
{ |
15 |
#ifdef ENABLE_NLS |
15 |
#ifdef ENABLE_NLS |
16 |
+ bindtextdomain(PACKAGE, LOCALEDIR); |
16 |
+ bindtextdomain(PACKAGE, LOCALEDIR); |
17 |
bind_textdomain_codeset(PACKAGE, "UTF-8"); |
17 |
bind_textdomain_codeset(PACKAGE, "UTF-8"); |
18 |
#endif /* ENABLE_NLS */ |
18 |
#endif /* ENABLE_NLS */ |
19 |
style_id = gkrellm_add_meter_style(&air_mon, STYLE_NAME); |
19 |
style_id = gkrellm_add_meter_style(&air_mon, STYLE_NAME); |