weather: Fix property name

It's g-*name*-owner. As the condition covers the unlikely case where
Weather is running before gnome-shell, this slipped through.
This commit is contained in:
Florian Müllner 2019-08-01 01:46:05 +02:00
parent 108ac7cf20
commit 02b47f4640

View File

@ -154,7 +154,7 @@ var WeatherClient = class {
this._weatherProxy.connect('g-properties-changed',
this._onWeatherPropertiesChanged.bind(this));
if (this._weatherProxy.g_owner != null)
if (this._weatherProxy.g_name_owner != null)
this._onWeatherPropertiesChanged();
}