Hello community,

here is the log from the commit of package flameshot for openSUSE:Factory 
checked in at 2019-04-08 10:40:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flameshot (Old)
 and      /work/SRC/openSUSE:Factory/.flameshot.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flameshot"

Mon Apr  8 10:40:22 2019 rev:4 rq:692145 version:0.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/flameshot/flameshot.changes      2018-08-31 
10:45:01.395244207 +0200
+++ /work/SRC/openSUSE:Factory/.flameshot.new.3908/flameshot.changes    
2019-04-08 10:40:51.627303086 +0200
@@ -1,0 +2,7 @@
+Sun Apr  7 11:35:20 UTC 2019 - Martin Hauke <mar...@gmx.de>
+
+- Add patch:
+  * 0001-utils-confighandler.cpp-Enable-Pin-and-Text-tool-by-.patch
+    Enables Pin and Text tool by default.
+
+-------------------------------------------------------------------

New:
----
  0001-utils-confighandler.cpp-Enable-Pin-and-Text-tool-by-.patch

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

Other differences:
------------------
++++++ flameshot.spec ++++++
--- /var/tmp/diff_new_pack.heIH64/_old  2019-04-08 10:40:52.395303273 +0200
+++ /var/tmp/diff_new_pack.heIH64/_new  2019-04-08 10:40:52.399303274 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package flameshot
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,6 +25,7 @@
 URL:            https://github.com/lupoDharkael/flameshot#flameshot
 Source0:        
https://github.com/lupoDharkael/flameshot/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch1:         desktop-files.patch
+Patch2:         0001-utils-confighandler.cpp-Enable-Pin-and-Text-tool-by-.patch
 %if 0%{?suse_version} >= 1500
 BuildRequires:  gcc-c++
 %else

++++++ 0001-utils-confighandler.cpp-Enable-Pin-and-Text-tool-by-.patch ++++++
>From 25246a79f030b97d1a6e5947dc19559187a61248 Mon Sep 17 00:00:00 2001
From: Boyuan Yang <073p...@gmail.com>
Date: Wed, 9 Jan 2019 13:08:54 -0500
Subject: [PATCH] utils/confighandler.cpp: Enable Pin and Text tool by default
 (#443)

This commit enables all the available tools by default so that
users may use them out-of-box without bothering with modifying
configuration.
---
 src/utils/confighandler.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/utils/confighandler.cpp b/src/utils/confighandler.cpp
index a30c412..46a34f7 100644
--- a/src/utils/confighandler.cpp
+++ b/src/utils/confighandler.cpp
@@ -54,7 +54,9 @@ QVector<CaptureButton::ButtonType> 
ConfigHandler::getButtons() {
                 << CaptureButton::TYPE_SAVE
                 << CaptureButton::TYPE_EXIT
                 << CaptureButton::TYPE_IMAGEUPLOADER
-                << CaptureButton::TYPE_OPEN_APP;
+                << CaptureButton::TYPE_OPEN_APP
+                << CaptureButton::TYPE_PIN
+                << CaptureButton::TYPE_TEXT;
     }
 
     using bt = CaptureButton::ButtonType;
-- 
2.16.4


Reply via email to