forked from pool/gnome-weather
Accepting request 588473 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/588473 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-weather?expand=0&rev=72
This commit is contained in:
parent
d4497e3e87
commit
c8de38f5f6
29
gnome-weather-fix-clicking-rows-places-popover.patch
Normal file
29
gnome-weather-fix-clicking-rows-places-popover.patch
Normal file
@ -0,0 +1,29 @@
|
||||
From 44ed7a29bbd3a491c8ad3cd49b76870d728dfa60 Mon Sep 17 00:00:00 2001
|
||||
From: Giovanni Campagna <gcampagna@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
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 17 22:12:01 UTC 2018 - bjorn.lie@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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:30:23 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -25,8 +25,12 @@ License: GPL-2.0-or-later
|
||||
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 zaitor@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.lie@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
|
||||
|
Loading…
Reference in New Issue
Block a user