weather-service: add location property and split from gc_w_s_run
This helps in preparation of splitting out a dedicated activation flag from the actually starting and stopping the service. Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
47db4a1de3
commit
faa6e91d8b
@@ -201,7 +201,8 @@ manage_weather_service (GcalWeatherSettings *self)
|
||||
g_warning ("Unknown location '%s' selected", gtk_editable_get_text (self->weather_location_entry));
|
||||
}
|
||||
|
||||
gcal_weather_service_run (weather_service, location);
|
||||
gcal_weather_service_set_location (weather_service, location);
|
||||
gcal_weather_service_start (weather_service);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user