diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-07-23 22:56:36 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-07-23 22:56:36 -0500 |
commit | 909ccbc93d9fa21075cf5001887e69159e621f5d (patch) | |
tree | 1b5a563cf352c80d8be943fc421b41bb5259bf6a /src/exporter.cpp | |
parent | e94fa94e3d8d3d7a9630d3e6fa94b78525ae4345 (diff) | |
download | ayatana-indicator-datetime-909ccbc93d9fa21075cf5001887e69159e621f5d.tar.gz ayatana-indicator-datetime-909ccbc93d9fa21075cf5001887e69159e621f5d.tar.bz2 ayatana-indicator-datetime-909ccbc93d9fa21075cf5001887e69159e621f5d.zip |
move the powerd and screen bus name, path, and interface strings into dbus-shared
Diffstat (limited to 'src/exporter.cpp')
-rw-r--r-- | src/exporter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exporter.cpp b/src/exporter.cpp index e2b60f2..88aee2f 100644 --- a/src/exporter.cpp +++ b/src/exporter.cpp @@ -72,7 +72,7 @@ public: m_actions = actions; m_menus = menus; m_own_id = g_bus_own_name(G_BUS_TYPE_SESSION, - BUS_NAME, + BUS_DATETIME_NAME, G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT, on_bus_acquired, nullptr, @@ -166,12 +166,12 @@ private: GError * error = nullptr; g_dbus_interface_skeleton_export(G_DBUS_INTERFACE_SKELETON(m_alarm_props), m_bus, - BUS_PATH"/AlarmProperties", + BUS_DATETIME_PATH"/AlarmProperties", &error); // export the actions const auto id = g_dbus_connection_export_action_group(m_bus, - BUS_PATH, + BUS_DATETIME_PATH, m_actions->action_group(), &error); if (id) @@ -187,7 +187,7 @@ private: // export the menus for(auto& menu : m_menus) { - const auto path = std::string(BUS_PATH) + "/" + menu->name(); + const auto path = std::string(BUS_DATETIME_PATH) + "/" + menu->name(); const auto id = g_dbus_connection_export_menu_model(m_bus, path.c_str(), menu->menu_model(), &error); if (id) { |