git » plasma-desktop.git » commit 183075e

add patch for FS#43901

author Felix Yan
2015-03-13 16:47:42 UTC
committer Felix Yan
2015-03-13 16:47:42 UTC
parent a7f9176865f5368cf68f745ba81ab7af9f4620f6

add patch for FS#43901

336094f43d82d83f374116862a0f568fe9092224.patch +38 -0
PKGBUILD +8 -3

diff --git a/336094f43d82d83f374116862a0f568fe9092224.patch b/336094f43d82d83f374116862a0f568fe9092224.patch
new file mode 100644
index 0000000..1685795
--- /dev/null
+++ b/336094f43d82d83f374116862a0f568fe9092224.patch
@@ -0,0 +1,38 @@
+commit 336094f43d82d83f374116862a0f568fe9092224
+Author: Bhushan Shah <bhush94@gmail.com>
+Date:   Mon Mar 9 21:04:09 2015 +0530
+
+    Fix tabbar not showing up when switching to favorites from search
+    
+    when we are in search view tabbar is not visible and immediatly
+    switching to favorites causes no tabbar.
+    
+    BUG: 343524
+    FIXED-IN: 5.2.2
+
+diff --git a/applets/kickoff/package/contents/ui/FullRepresentation.qml b/applets/kickoff/package/contents/ui/FullRepresentation.qml
+index d978987..0ba18e6 100644
+--- a/applets/kickoff/package/contents/ui/FullRepresentation.qml
++++ b/applets/kickoff/package/contents/ui/FullRepresentation.qml
+@@ -493,6 +493,10 @@ Item {
+                 target: root
+                 Keys.forwardTo: [tabBar.layout]
+             }
++            PropertyChanges {
++                target: tabBar
++                visible: true
++            }
+         },
+         State {
+             name: "Applications"
+@@ -500,6 +504,10 @@ Item {
+                 target: root
+                 Keys.forwardTo: [root]
+             }
++            PropertyChanges {
++                target: tabBar
++                visible: true
++            }
+         },
+         State {
+             name: "Search"
diff --git a/PKGBUILD b/PKGBUILD
index 0a5b5e1..08a8448 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=plasma-desktop
 pkgver=5.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc='KDE Plasma Desktop'
 arch=('i686' 'x86_64')
 url='https://www.kde.org/workspaces/plasmadesktop/'
@@ -18,11 +18,16 @@ optdepends=('baloo-frameworks: system indexing'
 conflicts=('kdebase-workspace' 'kdebase-kdepasswd')
 install="${pkgname}.install"
 groups=('plasma')
-source=("http://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz")
-md5sums=('8a9f8e2914ca6ec653565a7eeb65f91f')
+source=("http://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz"
+        336094f43d82d83f374116862a0f568fe9092224.patch)
+md5sums=('8a9f8e2914ca6ec653565a7eeb65f91f'
+         'eb6dee2f30642ac1c808e227c1b7bea4')
 
 prepare() {
   mkdir build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../336094f43d82d83f374116862a0f568fe9092224.patch
 }
 
 build() {