[kde-runtime] upstream listview margins patch

Rex Dieter rdieter at fedoraproject.org
Thu Mar 8 22:31:57 UTC 2012


commit 69080c27769409cba83633e19af4f40dc6489f24
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Thu Mar 8 16:33:36 2012 -0600

    upstream listview margins patch

 kde-runtime-4.8.1-listview_margins.patch |   27 +++++++++++++++++++++++++++
 kde-runtime.spec                         |    8 +++++++-
 2 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/kde-runtime-4.8.1-listview_margins.patch b/kde-runtime-4.8.1-listview_margins.patch
new file mode 100644
index 0000000..b680277
--- /dev/null
+++ b/kde-runtime-4.8.1-listview_margins.patch
@@ -0,0 +1,27 @@
+commit e9080e573478b376a4321da83df80d4d93d911ce
+Author: Shaun Reich <shaun.reich at kdemail.net>
+Date:   Thu Feb 9 13:22:13 2012 -0500
+
+    hack margins so listview doesn't suck
+    (cherry picked from commit 441f7ee40cb0b91819a37fb53ee3d63d56653f69)
+
+diff --git a/plasma/declarativeimports/plasmacomponents/qml/Highlight.qml b/plasma/declarativeimports/plasmacomponents/qml/Highlight.qml
+index 4efb0ea..9c5addd 100644
+--- a/plasma/declarativeimports/plasmacomponents/qml/Highlight.qml
++++ b/plasma/declarativeimports/plasmacomponents/qml/Highlight.qml
+@@ -60,10 +60,11 @@ Item {
+ 
+         anchors {
+             fill: parent
+-            topMargin: -background.margins.top
+-            leftMargin: -background.margins.left
+-            bottomMargin: -background.margins.bottom
+-            rightMargin: -background.margins.right
++        //FIXME: breaks listviews and highlight item
++        //    topMargin: -background.margins.top
++        //    leftMargin: -background.margins.left
++        //    bottomMargin: -background.margins.bottom
++        //    rightMargin: -background.margins.right
+         }
+     }
+ }
diff --git a/kde-runtime.spec b/kde-runtime.spec
index 5930e9f..18137b7 100644
--- a/kde-runtime.spec
+++ b/kde-runtime.spec
@@ -7,7 +7,7 @@
 Name:    kde-runtime
 Summary: KDE Runtime
 Version: 4.8.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 # http://techbase.kde.org/Policies/Licensing_Policy
 License: LGPLv2+ and GPLv2+
@@ -42,6 +42,8 @@ Patch9: kdebase-runtime-4.3.4-man-overrides.patch
 Patch50: kde-runtime-4.7.90-nepomuk_onlyshowin_kde.patch
 
 ## upstream patches
+# https://projects.kde.org/projects/kde/kde-runtime/repository/revision?rev=e9080e57
+Patch100: kde-runtime-4.8.1-listview_margins.patch
 
 Obsoletes: kdebase-runtime < 4.7.97-10
 Provides:  kdebase-runtime = %{version}-%{release}
@@ -146,6 +148,7 @@ BuildArch: noarch
 %patch8 -p1 -b .config
 %patch9 -p1 -b .man-overrides
 %patch50 -p1 -b .nepomuk_onlyshowin_kde
+%patch100 -p1 -b .listview_margins
 
 
 %build
@@ -319,6 +322,9 @@ fi
 
 
 %changelog
+* Thu Mar 08 2012 Rex Dieter <rdieter at fedoraproject.org> 4.8.1-2
+- upstream listview margins patch
+
 * Mon Mar 05 2012 Jaroslav Reznik <jreznik at redhat.com> - 4.8.1-1
 - 4.8.1
 - fix libnepomukdatamanagement (-devel, -libs)


More information about the scm-commits mailing list