Re: [Evolution] Weather in "My Evolution"
- From: Michael Rothwell <rothwell holly-springs nc us>
- To: Fatih Demir <kabalak gtranslator org>
- Cc: evolution ximian com
- Subject: Re: [Evolution] Weather in "My Evolution"
- Date: 22 Jun 2001 18:44:30 -0400
It appears that Evolution has the weather locations hard-coded for the
moment:
... so the answer is, look up your friendly local NOAA location code,
and pass it in. e_summary_weather_init_locations (void) also seems to
want to do something interesting, but apparently does not at the moment.
void
e_summary_weather_init (ESummary *summary)
{
ESummaryWeather *weather;
g_return_if_fail (summary != NULL);
g_return_if_fail (IS_E_SUMMARY (summary));
if (e_summary_weather_init_locations () == FALSE) {
return;
}
weather = g_new0 (ESummaryWeather, 1);
summary->weather = weather;
e_summary_add_protocol_listener (summary, "weather",
e_summary_weather_protocol, weather);
e_summary_weather_add_location (summary, "ENBR");
e_summary_weather_add_location (summary, "EGAC");
e_summary_weather_add_location (summary, "EGAA");
return;
}
--
Michael Rothwell
rothwell holly-springs nc us
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]