Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package foliate for openSUSE:Factory checked 
in at 2021-03-24 16:16:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/foliate (Old)
 and      /work/SRC/openSUSE:Factory/.foliate.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "foliate"

Wed Mar 24 16:16:43 2021 rev:13 rq:880975 version:2.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/foliate/foliate.changes  2020-12-01 
14:22:10.769553909 +0100
+++ /work/SRC/openSUSE:Factory/.foliate.new.2401/foliate.changes        
2021-03-24 16:17:52.716249166 +0100
@@ -1,0 +2,6 @@
+Sun Mar 21 15:03:26 UTC 2021 - Marcus Rueckert <[email protected]>
+
+- Added 
https://github.com/johnfactotum/foliate/commit/2c28932c6266cbeddbe49d7aa6ca8d70d125e96f.patch
+  Make foliate work with GNOME 40 (gh:johnfactotum/foliate#689)
+
+-------------------------------------------------------------------

New:
----
  2c28932c6266cbeddbe49d7aa6ca8d70d125e96f.patch

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

Other differences:
------------------
++++++ foliate.spec ++++++
--- /var/tmp/diff_new_pack.UgrH5o/_old  2021-03-24 16:17:53.248249725 +0100
+++ /var/tmp/diff_new_pack.UgrH5o/_new  2021-03-24 16:17:53.252249729 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package foliate
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 Group:          Productivity/Office/Other
 URL:            https://johnfactotum.github.io/foliate/
 Source:         %{name}-%{version}.tar.gz
+Patch:          
https://github.com/johnfactotum/foliate/commit/2c28932c6266cbeddbe49d7aa6ca8d70d125e96f.patch
 
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++

++++++ 2c28932c6266cbeddbe49d7aa6ca8d70d125e96f.patch ++++++
>From 2c28932c6266cbeddbe49d7aa6ca8d70d125e96f Mon Sep 17 00:00:00 2001
From: John Factotum <[email protected]>
Date: Sat, 20 Mar 2021 22:52:23 +0800
Subject: [PATCH] Don't write to construct only property after construction

Fixes #689
---
 src/window.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/window.js b/src/window.js
index 824781b..464edc0 100644
--- a/src/window.js
+++ b/src/window.js
@@ -1022,8 +1022,14 @@ var Window = GObject.registerClass({
         this.loading = true
         this._setTitle(_('Foliate'))
     }
+    get file() {
+        return this._file || null
+    }
+    set file(file) {
+        this._file = file
+    }
     open(file) {
-        this.file = file
+        this._file = file
         this._epub.open(file)
     }
     _connectEpub() {

Reply via email to