Commit Graph
8 Commits
Author SHA1 Message Date
Markus Göllnitz 74b1296d07 month-cell: hold weather service while this widget exists
Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2024-01-27 16:09:02 +00:00
Markus Göllnitz cf40734243 weather-service: add hold/release style use counter to pause weather service
Holding and releasing the weather service makes sure it
is stopped whenever no UI depends on it.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2024-01-27 16:09:02 +00:00
Markus Göllnitz 9c879c999c weather-service: split activate/deactivate from start/stop
Splitting an activation flag from starting and stopping
the service makes it possible to flag the service as
wanted from the settings and still due use counting in a
subsequent commit.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2024-01-27 16:09:02 +00:00
Markus Göllnitz faa6e91d8b 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>
2024-01-27 16:09:02 +00:00
Georges Basile Stavracas Neto c91f03feb1 weather-settings: Port to GTK4 2022-02-12 13:08:50 -03:00
Georges Basile Stavracas Neto 7efd6facc9 Port to GWeather4
In preparation for the GTK4 port. This is just a cheap port,
I'll implement proper entry completion after porting to GTK4.
2022-02-11 09:18:38 -03:00
Georges Basile Stavracas Neto a146b9050d project: Silence CI warnings 2020-10-31 16:55:06 -03:00
Georges Basile Stavracas Neto e67ebcfc50 project: Move all UI-related files to src/gui/
So we can have a nice separation.
2020-10-30 14:44:33 -03:00