Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

1 commit

Author SHA1 Message Date
Rex Dieter
ec3d6fca6b Recommends: qt4-style-oxygen, support APPER_NO_STYLE_OVERRIDE env (#1380097) 2016-11-10 07:47:59 -06:00
2 changed files with 7 additions and 3 deletions

View file

@ -5,8 +5,8 @@ diff -up apper-0.9.2/Apper/main.cpp.style apper-0.9.2/Apper/main.cpp
Apper app;
+ if ( ! qgetenv("KDE_FULL_SESSION").isEmpty() ) {
+ app.setStyle(QString("cleanlooks"));
+ if ( ! qgetenv("KDE_FULL_SESSION").isEmpty() && qgetenv("APPER_NO_STYLE_OVERRIDE").isEmpty() ) {
+ //app.setStyle(QString("cleanlooks"));
+ app.setStyle(QString("oxygen"));
+ }
+

View file

@ -9,7 +9,7 @@
Name: apper
Summary: KDE interface for PackageKit
Version: 0.9.2
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2+
%if 0%{?snap:1}
@ -35,6 +35,7 @@ Patch15: 0015-explicitly-set-PK-cache-age.patch
## upstreamable patches
# hardcode known-good styles
Patch100: apper-0.9.2-style.patch
Recommends: qt4-style-oxygen%{?_isa}
Obsoletes: kpackagekit < 0.7.0
Provides: kpackagekit = %{version}-%{release}
@ -155,6 +156,9 @@ fi
%changelog
* Thu Nov 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 0.9.2-7
- Recommends: qt4-style-oxygen, support APPER_NO_STYLE_OVERRIDE env (#1380097)
* Thu May 05 2016 Rex Dieter <rdieter@fedoraproject.org> - 0.9.2-6
- hard-code style (plastique/oxygen) to workaround UI glitches (#1209017)