[arch-commits] Commit in khotkeys/trunk (PKGBUILD fix-shortcuts.patch)
Andrea Scarpino
andrea at archlinux.org
Sun Nov 9 22:47:38 UTC 2014
Date: Sunday, November 9, 2014 @ 23:47:37
Author: andrea
Revision: 225807
This patch is already part of 5.1.1
Modified:
khotkeys/trunk/PKGBUILD
Deleted:
khotkeys/trunk/fix-shortcuts.patch
---------------------+
PKGBUILD | 9 ++-------
fix-shortcuts.patch | 24 ------------------------
2 files changed, 2 insertions(+), 31 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-11-09 22:47:21 UTC (rev 225806)
+++ PKGBUILD 2014-11-09 22:47:37 UTC (rev 225807)
@@ -12,16 +12,11 @@
depends=('plasma-workspace')
makedepends=('extra-cmake-modules' 'kdoctools' 'python')
conflicts=('kdebase-workspace')
-source=("http://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz"
- 'fix-shortcuts.patch')
-md5sums=('1588df491b42cbe2dcd3d1ce525d05de'
- 'db701291f62d72780ec0cfd6c18635c6')
+source=("http://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz")
+md5sums=('1588df491b42cbe2dcd3d1ce525d05de')
prepare() {
mkdir -p build
-
- cd ${pkgname}-${pkgver}
- patch -p1 -i "${srcdir}"/fix-shortcuts.patch
}
build() {
Deleted: fix-shortcuts.patch
===================================================================
--- fix-shortcuts.patch 2014-11-09 22:47:21 UTC (rev 225806)
+++ fix-shortcuts.patch 2014-11-09 22:47:37 UTC (rev 225807)
@@ -1,24 +0,0 @@
-commit e1faf20d79d63f45afd5fcdafdecc4cb59aaaf2e
-Author: David Edmundson <kde at davidedmundson.co.uk>
-Date: Fri Oct 24 12:44:11 2014 +0200
-
- When loading the configuration set active shortcut not the default shortcut
-
- Otherwise hotkeys don't work
-
- BUG: 337230
- FIXED-IN: 5.1.1
-
-diff --git a/libkhotkeysprivate/shortcuts_handler.cpp b/libkhotkeysprivate/shortcuts_handler.cpp
-index 54aaf7c..e6c9b47 100644
---- a/libkhotkeysprivate/shortcuts_handler.cpp
-+++ b/libkhotkeysprivate/shortcuts_handler.cpp
-@@ -89,7 +89,7 @@ QAction *ShortcutsHandler::addAction(
- newAction->setProperty("isConfigurationAction", QVariant(true));
- }
- newAction->setText(text);
-- KGlobalAccel::self()->setDefaultShortcut(newAction, QList<QKeySequence>() << shortcut.primary());
-+ KGlobalAccel::self()->setShortcut(newAction, QList<QKeySequence>() << shortcut.primary());
- // Enable global shortcut. If that fails there is no sense in proceeding
- if (!KGlobalAccel::self()->hasShortcut(newAction))
- {
More information about the arch-commits
mailing list