forked from pool/discover
Accepting request 438300 from home:alarrosa:branches:KDE:Frameworks5
- Added 0001-Make-screenshots-visible-when-only-one.patch which fixes an issue by which discover didn't show application screenshots when there was only one screenshot (kde#371724) OBS-URL: https://build.opensuse.org/request/show/438300 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/discover?expand=0&rev=57
This commit is contained in:
parent
28c6e5d615
commit
17a70a097d
40
0001-Make-screenshots-visible-when-only-one.patch
Normal file
40
0001-Make-screenshots-visible-when-only-one.patch
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
From 3297fe6026edebb8db72bb179289bee844c26ae3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Antonio Larrosa <larrosa@kde.org>
|
||||||
|
Date: Wed, 2 Nov 2016 11:43:17 +0100
|
||||||
|
Subject: Make screenshots visible when there's only one screenshot too
|
||||||
|
|
||||||
|
Summary:
|
||||||
|
Applications with only one screenshot also deserve to have it visible.
|
||||||
|
|
||||||
|
BUG: 371724
|
||||||
|
FIXED-IN: 5.8.4
|
||||||
|
|
||||||
|
Test Plan:
|
||||||
|
Open any application that only has one screenshot (e.g. poedit).
|
||||||
|
No screenshot is shown until this patch is applied.
|
||||||
|
|
||||||
|
Reviewers: davidedmundson, apol
|
||||||
|
|
||||||
|
Reviewed By: davidedmundson, apol
|
||||||
|
|
||||||
|
Differential Revision: https://phabricator.kde.org/D3223
|
||||||
|
---
|
||||||
|
discover/qml/ApplicationScreenshots.qml | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/discover/qml/ApplicationScreenshots.qml b/discover/qml/ApplicationScreenshots.qml
|
||||||
|
index dc7c62d..92e2d8c 100644
|
||||||
|
--- a/discover/qml/ApplicationScreenshots.qml
|
||||||
|
+++ b/discover/qml/ApplicationScreenshots.qml
|
||||||
|
@@ -32,7 +32,7 @@ Flow {
|
||||||
|
|
||||||
|
readonly property real side: Kirigami.Units.gridUnit * 8
|
||||||
|
property QtObject page
|
||||||
|
- visible: screenshotsModel.count>1
|
||||||
|
+ visible: screenshotsModel.count>0
|
||||||
|
|
||||||
|
readonly property var fu: Kirigami.OverlaySheet {
|
||||||
|
id: overlay
|
||||||
|
--
|
||||||
|
cgit v0.11.2
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 2 13:02:27 UTC 2016 - alarrosa@suse.com
|
||||||
|
|
||||||
|
- Added 0001-Make-screenshots-visible-when-only-one.patch which fixes
|
||||||
|
an issue by which discover didn't show application screenshots when
|
||||||
|
there was only one screenshot (kde#371724)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 1 10:36:40 UTC 2016 - fabian@ritter-vogt.de
|
Tue Nov 1 10:36:40 UTC 2016 - fabian@ritter-vogt.de
|
||||||
|
|
||||||
|
@ -25,6 +25,8 @@ License: GPL-2.0
|
|||||||
Group: System/GUI/KDE
|
Group: System/GUI/KDE
|
||||||
Url: https://quickgit.kde.org/?p=discover.git
|
Url: https://quickgit.kde.org/?p=discover.git
|
||||||
Source: http://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz
|
Source: http://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM 0001-Make-screenshots-visible-when-only-one.patch -- Show app screenshots when there's only one too
|
||||||
|
Patch0: 0001-Make-screenshots-visible-when-only-one.patch
|
||||||
BuildRequires: PackageKit-Qt5-devel
|
BuildRequires: PackageKit-Qt5-devel
|
||||||
BuildRequires: cmake >= 2.8.12
|
BuildRequires: cmake >= 2.8.12
|
||||||
BuildRequires: extra-cmake-modules
|
BuildRequires: extra-cmake-modules
|
||||||
@ -78,6 +80,7 @@ This is the systray plasmoid to notify the user that updates are available
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kf5 -d build
|
%cmake_kf5 -d build
|
||||||
|
Loading…
Reference in New Issue
Block a user