Hello community,

here is the log from the commit of package gnome-weather for openSUSE:Factory 
checked in at 2018-03-26 13:03:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-weather (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-weather.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-weather"

Mon Mar 26 13:03:50 2018 rev:32 rq:590338 version:3.26.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-weather/gnome-weather.changes      
2018-03-09 10:39:03.458967685 +0100
+++ /work/SRC/openSUSE:Factory/.gnome-weather.new/gnome-weather.changes 
2018-03-26 13:03:52.663589297 +0200
@@ -1,0 +2,8 @@
+Sat Mar 17 22:12:01 UTC 2018 - bjorn....@gmail.com
+
+- Add gnome-weather-fix-clicking-rows-places-popover.patch: Fix
+  clicking on rows in the places popover. With recent gjs, the
+  access to row._info fails after the row has been removed from the
+  listbox.
+
+-------------------------------------------------------------------

New:
----
  gnome-weather-fix-clicking-rows-places-popover.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-weather.spec ++++++
--- /var/tmp/diff_new_pack.xSWjzz/_old  2018-03-26 13:03:54.371527908 +0200
+++ /var/tmp/diff_new_pack.xSWjzz/_new  2018-03-26 13:03:54.379527620 +0200
@@ -25,8 +25,12 @@
 Group:          Productivity/Other
 URL:            https://live.gnome.org/Design/Apps/Weather
 Source0:        
http://download.gnome.org/sources/gnome-weather/3.26/%{name}-%{version}.tar.xz
+
 # PATCH-FIX-UPSTREAM gnome-weather-fix-gettext-domain.patch 
zai...@opensuse.org -- gschema: Fix gettext-domain
 Patch0:         gnome-weather-fix-gettext-domain.patch
+# PATCH-FIX-UPSTREAM gnome-weather-fix-clicking-rows-places-popover.patch 
bjorn....@gmail.com -- Fix clicking on rows in the places popover
+Patch1:         gnome-weather-fix-clicking-rows-places-popover.patch
+
 BuildRequires:  gjs
 BuildRequires:  intltool >= 0.26
 BuildRequires:  pkgconfig

++++++ gnome-weather-fix-clicking-rows-places-popover.patch ++++++
>From 44ed7a29bbd3a491c8ad3cd49b76870d728dfa60 Mon Sep 17 00:00:00 2001
From: Giovanni Campagna <gcampa...@src.gnome.org>
Date: Thu, 14 Dec 2017 09:32:43 -0800
Subject: Fix clicking on rows in the places popover

With recent gjs, the access to row._info fails after the row has been
removed from the listbox.
---
 src/app/world.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/world.js b/src/app/world.js
index 11219f8..d5f4cf2 100644
--- a/src/app/world.js
+++ b/src/app/world.js
@@ -88,9 +88,9 @@ var WorldContentView = new Lang.Class({
         });
 
         this._listbox.connect('row-activated', (listbox, row) => {
-            this.hide();
-            this.model.moveLocationToFront(row._info);
             this._window.showInfo(row._info, false);
+            this.model.moveLocationToFront(row._info);
+            this.hide();
         });
 
         this.model.connect('current-location-changed', (model, info) => {
-- 
cgit v0.12

Reply via email to