diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-04-25 22:47:06 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-04-25 22:47:14 +1000 |
commit | 253b68324cf4294d02524720a440f2cf14a085c5 (patch) | |
tree | c42ef52fb41a6e8aece55262b99d5300cd393b5b /kde-apps/konsole/files | |
parent | sys-block/kvpm: remove 0.9.9 (diff) | |
download | gentoo-253b68324cf4294d02524720a440f2cf14a085c5.tar.gz gentoo-253b68324cf4294d02524720a440f2cf14a085c5.tar.bz2 gentoo-253b68324cf4294d02524720a440f2cf14a085c5.zip |
kde-apps/konsole: backport patch from upstream solving --new-tab regression
Gentoo-bug: 615850
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'kde-apps/konsole/files')
-rw-r--r-- | kde-apps/konsole/files/konsole-16.12.3-newtabs.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/kde-apps/konsole/files/konsole-16.12.3-newtabs.patch b/kde-apps/konsole/files/konsole-16.12.3-newtabs.patch new file mode 100644 index 000000000000..45ee52bd2605 --- /dev/null +++ b/kde-apps/konsole/files/konsole-16.12.3-newtabs.patch @@ -0,0 +1,31 @@ +From e3de3ca72552c81bc8d7dbe5cf1568eedd33c31e Mon Sep 17 00:00:00 2001 +From: "Martin T. H. Sandsmark" <martin.sandsmark@kde.org> +Date: Wed, 25 Jan 2017 22:25:48 +0100 +Subject: [PATCH] Fix opening of new tabs with multiple processes + +Make sure we re-use the process if the user wants a new tab. + +BUG: 373440 +REVIEW: 129886 +--- + src/main.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/main.cpp b/src/main.cpp +index f4bb5af..33a2bdb 100644 +--- a/src/main.cpp ++++ b/src/main.cpp +@@ -117,8 +117,8 @@ extern "C" int Q_DECL_EXPORT kdemain(int argc, char* argv[]) + parser->process(*app); + about.processCommandLine(parser.data()); + +- // Enable user to force multiple instances +- if (!Konsole::KonsoleSettings::useSingleInstance()) { ++ // Enable user to force multiple instances, unless a new tab is requested ++ if (!Konsole::KonsoleSettings::useSingleInstance() && !parser->isSet(QStringLiteral("new-tab"))) { + startupOption = KDBusService::Multiple; + } + +-- +2.10.2 + |