diff options
author | Ted Gould <ted@gould.cx> | 2010-03-03 20:58:51 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-03-03 20:58:51 -0600 |
commit | 1af7a048d62b8616d3182a8bb48fe33e7b54d93d (patch) | |
tree | 8b2212698ae8d345f4728b2a89d76681960277f1 /src/session-service.c | |
parent | da2cc84332852961c8525bddee787fc175a74b1c (diff) | |
parent | 41b935109421b4087536d88fef2da54d4dece306 (diff) | |
download | ayatana-indicator-session-1af7a048d62b8616d3182a8bb48fe33e7b54d93d.tar.gz ayatana-indicator-session-1af7a048d62b8616d3182a8bb48fe33e7b54d93d.tar.bz2 ayatana-indicator-session-1af7a048d62b8616d3182a8bb48fe33e7b54d93d.zip |
Changing strings to match distro wide sleep and switch off.
Diffstat (limited to 'src/session-service.c')
-rw-r--r-- | src/session-service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/session-service.c b/src/session-service.c index faf38da..eb1966e 100644 --- a/src/session-service.c +++ b/src/session-service.c @@ -543,7 +543,7 @@ rebuild_items (DbusmenuMenuitem *root, suspend_mi = dbusmenu_menuitem_new(); dbusmenu_menuitem_property_set_bool(suspend_mi, DBUSMENU_MENUITEM_PROP_VISIBLE, FALSE); - dbusmenu_menuitem_property_set(suspend_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Suspend")); + dbusmenu_menuitem_property_set(suspend_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Sleep")); dbusmenu_menuitem_child_append(root, suspend_mi); g_signal_connect(G_OBJECT(suspend_mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(machine_sleep), "Suspend"); @@ -564,9 +564,9 @@ rebuild_items (DbusmenuMenuitem *root, shutdown_mi = dbusmenu_menuitem_new(); if (supress_confirmations()) { - dbusmenu_menuitem_property_set(shutdown_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Shut Down")); + dbusmenu_menuitem_property_set(shutdown_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Switch Off")); } else { - dbusmenu_menuitem_property_set(shutdown_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Shut Down...")); + dbusmenu_menuitem_property_set(shutdown_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Switch Off...")); } dbusmenu_menuitem_child_append(root, shutdown_mi); g_signal_connect(G_OBJECT(shutdown_mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(show_dialog), "shutdown"); |