[gnome-shell] weather: Fix property name



commit 02b47f464081213fff13ca5a1fd62839f4cf6073
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Aug 1 01:46:05 2019 +0200

    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.

 js/misc/weather.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/misc/weather.js b/js/misc/weather.js
index 4d63d745b..3e1a2ba86 100644
--- a/js/misc/weather.js
+++ b/js/misc/weather.js
@@ -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();
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]