[plasma-shell] Register org.kde.plasma_shell in the bus

This is needed to let KLauncher know that Plasma Shell has been
executed.
We are using plasma_shell because there is a bug in KDBusService
that prevents us from using plasma-shell. Fix is already done
but repositoiries at this very moment are frozen.
This commit is contained in:
Àlex Fiestas 2013-12-17 12:59:36 +01:00
parent 5c96de0c57
commit a9adcd8c6f
2 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include <QtQml/QQmlDebuggingEnabler>
#include <QDebug>
#include <kdbusservice.h>
#include <klocalizedstring.h>
#include "shellpluginloader.h"
@ -34,8 +35,11 @@ static QCommandLineParser parser;
int main(int argc, char** argv)
{
QApplication app(argc, argv);
app.setApplicationName("plasma_shell");
app.setOrganizationDomain("kde.org");
app.setApplicationVersion(version);
parser.setApplicationDescription(description);
KDBusService service(KDBusService::Unique);
QCommandLineOption dbg(QStringList() << QStringLiteral("d") <<
QStringLiteral("qmljsdebugger"),

View File

@ -12,5 +12,6 @@ Name[uk]=Робочий простір стільниці Плазми
Name[x-test]=xxPlasma Desktop Workspacexx
Type=Application
X-KDE-StartupNotify=false
X-DBUS-ServiceName=org.kde.plasma_shell
OnlyShowIn=KDE;
X-KDE-autostart-phase=0