aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-03-21 18:07:12 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-03-21 18:07:12 -0500
commit71f97cd047f58ca93303f0262f65fb48682b2e70 (patch)
treef9e39b2f452af26f20fd1d62eca6313b5854f228 /src
parentd148c14f072a3bd30c410a0d97a9a6bdc3bc465b (diff)
downloadayatana-indicator-datetime-71f97cd047f58ca93303f0262f65fb48682b2e70.tar.gz
ayatana-indicator-datetime-71f97cd047f58ca93303f0262f65fb48682b2e70.tar.bz2
ayatana-indicator-datetime-71f97cd047f58ca93303f0262f65fb48682b2e70.zip
give 'phone' and 'desktop' their own action namespaces. Fix documentation on 'activate-settings', since there are two forms of it, one for phone and one for desktop.
Diffstat (limited to 'src')
-rw-r--r--src/actions.cpp4
-rw-r--r--src/menu.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/actions.cpp b/src/actions.cpp
index c9c6286..dc9a34b 100644
--- a/src/actions.cpp
+++ b/src/actions.cpp
@@ -183,8 +183,8 @@ Actions::Actions(const std::shared_ptr<State>& state):
m_actions(g_simple_action_group_new())
{
GActionEntry entries[] = {
- { "activate-desktop-settings", on_desktop_settings_activated },
- { "activate-phone-settings", on_phone_settings_activated },
+ { "desktop.open-settings", on_desktop_settings_activated },
+ { "phone.open-settings", on_phone_settings_activated },
{ "activate-phone-clock-app", on_phone_clock_activated },
{ "activate-appointment", on_activate_appointment, "s", nullptr },
{ "activate-planner", on_activate_planner, "x", nullptr },
diff --git a/src/menu.cpp b/src/menu.cpp
index 90ef41f..9091951 100644
--- a/src/menu.cpp
+++ b/src/menu.cpp
@@ -383,11 +383,11 @@ private:
if (profile == Desktop)
{
- g_menu_append (menu, _("Date & Time Settings…"), "indicator.activate-desktop-settings");
+ g_menu_append (menu, _("Date & Time Settings…"), "indicator.desktop.open-settings");
}
else if (profile == Phone)
{
- g_menu_append (menu, _("Time & Date settings…"), "indicator.activate-phone-settings");
+ g_menu_append (menu, _("Time & Date settings…"), "indicator.phone.open-settings");
}
return G_MENU_MODEL (menu);