Update interface name

This commit is contained in:
reionwong 2021-09-15 15:45:56 +08:00
parent f8d9c94a1d
commit 3c2a6b4f17
3 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ set(RESOURCES
) )
qt5_add_dbus_adaptor(DBUS_SOURCES qt5_add_dbus_adaptor(DBUS_SOURCES
src/org.Cutefish.Dock.xml src/com.cutefish.Dock.xml
src/mainwindow.h MainWindow) src/mainwindow.h MainWindow)
set_source_files_properties(${DBUS_SOURCES} PROPERTIES SKIP_AUTOGEN ON) set_source_files_properties(${DBUS_SOURCES} PROPERTIES SKIP_AUTOGEN ON)

View file

@ -1,6 +1,6 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node> <node>
<interface name="org.cutefish.Dock"> <interface name="com.cutefish.Dock">
<method name="add"><arg name="desktopFile" type="s" direction="in"/></method> <method name="add"><arg name="desktopFile" type="s" direction="in"/></method>
<method name="remove"><arg name="desktopFile" type="s" direction="in"/></method> <method name="remove"><arg name="desktopFile" type="s" direction="in"/></method>
<method name="pinned"> <method name="pinned">

View file

@ -33,7 +33,7 @@ int main(int argc, char *argv[])
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true); QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QApplication app(argc, argv); QApplication app(argc, argv);
if (!QDBusConnection::sessionBus().registerService("org.cutefish.Dock")) { if (!QDBusConnection::sessionBus().registerService("com.cutefish.Dock")) {
return -1; return -1;
} }