Codebase list kate / ee28ab9
Merge remote-tracking branch 'origin/kubuntu_stable' Conflicts: debian/control debian/patches/series Maximiliano Curia 8 years ago
4 changed file(s) with 98 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
55 * New upstream release (15.04.2).
66
77 -- Maximiliano Curia <maxy@debian.org> Fri, 05 Jun 2015 11:01:43 +0200
8
9 kate (4:15.04.2-0ubuntu1) wily; urgency=medium
10
11 [ Felix Geyer ]
12 * Fix "KDEInit could not launch Kate" error when opening second file with Kate
13 in Dolphin. (LP: #1449029)
14 - Add upstream_Register_with_dbus_to_wake_up_KRun.patch
15
16 [ Scarlett Clark ]
17 * Fix merge conflict (changelog version discrepancy)
18 * manual merge.
19 * manual merge backports.
20 * Remove upstream_find-IconThemes.diff from series file.
21 The patch does not exist in directory.
22 * and remove upstream_Register_with_dbus_to_wake_up_KRun.patch
23 it has already been applied to this backport.
24
25 [ Jonathan Riddell ]
26 * New upstream release
27
28 -- Jonathan Riddell <jriddell@ubuntu.com> Tue, 09 Jun 2015 18:37:40 +0200
29
30 kate (4:15.04.1-0ubuntu1) UNRELEASED; urgency=medium
31
32 * New upstream release
33 * Vivid backport
34
35 -- Scarlett Clark <sgclark@kubuntu.org> Wed, 27 May 2015 08:19:24 -0700
836
937 kate (4:14.12.3-1) experimental; urgency=medium
1038
1212 kio-dev (>= 5.6.0~),
1313 libgit2-dev,
1414 libkf5config-dev (>= 5.6.0~),
15 libkf5crash-dev,
1516 libkf5dbusaddons-dev,
1617 libkf5guiaddons-dev (>= 5.6.0~),
1718 libkf5i18n-dev (>= 5.6.0~),
(New empty file)
0 From: Liu Zhe <cruise.pas@gmail.com>
1 Date: Tue, 10 Mar 2015 11:58:51 +0000
2 Subject: Register with dbus to wake up KRun, and unregister then
3 X-Git-Tag: v15.03.90
4 X-Git-Url: http://quickgit.kde.org/?p=kate.git&a=commitdiff&h=5207e49a84145e21060f3b5beff302a437cfeccd
5 ---
6 Register with dbus to wake up KRun, and unregister then
7
8 This fixes the "KDEInit could not launch Kate" error
9 when opening second file with Kate
10
11 REVIEW: 122498
12 BUG: 343673
13 BUG: 339094
14 ---
15
16
17 --- a/kate/src/kateapp.cpp
18 +++ b/kate/src/kateapp.cpp
19 @@ -151,10 +151,8 @@
20 } else if (!m_args.isSet(QStringLiteral("stdin")) && (m_args.positionalArguments().count() == 0)) { // only start session if no files specified
21 // let the user choose session if possible
22 if (!sessionManager()->chooseSession()) {
23 -#ifdef Q_WS_X11
24 // we will exit kate now, notify the rest of the world we are done
25 - KStartupInfo::appStarted(startupId());
26 -#endif
27 + KStartupInfo::appStarted(KStartupInfo::startupId());
28 return false;
29 }
30 } else {
31 @@ -167,9 +165,7 @@
32 }
33
34 // notify about start
35 -#ifdef Q_WS_X11
36 - KStartupInfo::setNewStartupId(activeKateMainWindow(), startupId());
37 -#endif
38 + KStartupInfo::setNewStartupId(activeKateMainWindow(), KStartupInfo::startupId());
39
40 QTextCodec *codec = m_args.isSet(QStringLiteral("encoding")) ? QTextCodec::codecForName(m_args.value(QStringLiteral("encoding")).toUtf8()) : 0;
41 bool tempfileSet = m_args.isSet(QStringLiteral("tempfile"));
42
43 --- a/kate/src/main.cpp
44 +++ b/kate/src/main.cpp
45 @@ -25,6 +25,7 @@
46
47 #include <KAboutData>
48 #include <KLocalizedString>
49 +#include <KStartupInfo>
50 #include <kdbusservice.h>
51
52 #include <QByteArray>
53 @@ -395,10 +396,12 @@
54 QDBusConnection::sessionBus().connect(serviceName, QStringLiteral("/MainApplication"), QStringLiteral("org.kde.Kate.Application"), QStringLiteral("documentClosed"), waiter, SLOT(documentClosed(QString)));
55 }
56
57 - #ifdef Q_WS_X11
58 + // KToolInvocation (and KRun) will wait until we register on dbus
59 + KDBusService dbusService(KDBusService::Multiple);
60 + dbusService.unregister();
61 +
62 // make the world happy, we are started, kind of...
63 KStartupInfo::appStarted();
64 - #endif
65
66 // this will wait until exiting is emitted by the used instance, if wanted...
67 return needToBlock ? app.exec() : 0;
68