From e72815691706f2d49b8c230da6cc9ff700206892 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Mon, 15 Nov 2021 03:03:35 +0100 Subject: Rename com.canonical.test* --- examples/exportactiongroup.py | 8 ++++---- examples/exportmenu.py | 6 +++--- examples/info-menumodel.cpp | 4 ++-- examples/render-menumodel.qml | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) (limited to 'examples') diff --git a/examples/exportactiongroup.py b/examples/exportactiongroup.py index b1237a8..df05b0d 100755 --- a/examples/exportactiongroup.py +++ b/examples/exportactiongroup.py @@ -18,8 +18,8 @@ """ This example script exports an action group on the session bus under the name -com.canonical.testactiongroup and at the object path -/com/canonical/testactiongroup. +org.ayatana.testactiongroup and at the object path +/org/ayatana/testactiongroup. """ import sys @@ -28,8 +28,8 @@ from gi.repository import Gio from gi.repository import GLib -BUS_NAME = 'com.canonical.testactiongroup' -BUS_OBJECT_PATH = '/com/canonical/testactiongroup' +BUS_NAME = 'org.ayatana.testactiongroup' +BUS_OBJECT_PATH = '/org/ayatana/testactiongroup' def action_activated(action, data): diff --git a/examples/exportmenu.py b/examples/exportmenu.py index b7c37b1..8e0f16e 100755 --- a/examples/exportmenu.py +++ b/examples/exportmenu.py @@ -18,7 +18,7 @@ """ This example script exports a menu model on the session bus under the name -com.canonical.testmenu and at the object path /com/canonical/testmenu. +org.ayatana.testmenu and at the object path /org/ayatana/testmenu. The menu model contains items that have attributes with custom values, as well as sub-menus. """ @@ -29,8 +29,8 @@ from gi.repository import Gio from gi.repository import GLib -BUS_NAME = 'com.canonical.testmenu' -BUS_OBJECT_PATH = '/com/canonical/testmenu' +BUS_NAME = 'org.ayatana.testmenu' +BUS_OBJECT_PATH = '/org/ayatana/testmenu' def bus_acquired(bus, name): menu = Gio.Menu() diff --git a/examples/info-menumodel.cpp b/examples/info-menumodel.cpp index a0bdb0a..d4fd0a7 100644 --- a/examples/info-menumodel.cpp +++ b/examples/info-menumodel.cpp @@ -33,8 +33,8 @@ #include -#define BUS_NAME "com.canonical.testmenu" -#define BUS_OBJECT_PATH "/com/canonical/testmenu" +#define BUS_NAME "org.ayatana.testmenu" +#define BUS_OBJECT_PATH "/org/ayatana/testmenu" class MenuModelMonitor : public QDBusMenuModel diff --git a/examples/render-menumodel.qml b/examples/render-menumodel.qml index 7d8e0a1..5458eeb 100644 --- a/examples/render-menumodel.qml +++ b/examples/render-menumodel.qml @@ -18,8 +18,8 @@ */ // This example QML application renders a menu model exposed on the session bus -// under the well-known name com.canonical.testmenu and at the object path -// /com/canonical/testmenu. +// under the well-known name org.ayatana.testmenu and at the object path +// /org/ayatana/testmenu. import QtQuick 2.0 import QMenuModel 0.1 @@ -32,8 +32,8 @@ Item { QDBusMenuModel { id: menuModel busType: DBus.SessionBus - busName: "com.canonical.testmenu" - objectPath: "/com/canonical/testmenu" + busName: "org.ayatana.testmenu" + objectPath: "/org/ayatana/testmenu" onStatusChanged: { if (status == DBus.Connecting) { view.reset() -- cgit v1.2.3