[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:
parent
5c96de0c57
commit
a9adcd8c6f
@ -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"),
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user