aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-18 14:01:25 -0500
committerTed Gould <ted@gould.cx>2010-03-18 14:01:25 -0500
commit1c7fe734fb887d7a998fef539d90eb612b2baf02 (patch)
tree6597dcabde24739bbfece6f8fabe0e45a543ac67 /src
parentefedfa60d052a58f678575052e0ac98bc324612a (diff)
downloadayatana-indicator-session-1c7fe734fb887d7a998fef539d90eb612b2baf02.tar.gz
ayatana-indicator-session-1c7fe734fb887d7a998fef539d90eb612b2baf02.tar.bz2
ayatana-indicator-session-1c7fe734fb887d7a998fef539d90eb612b2baf02.zip
Reverting from 'Switch Off' to 'Shut Down'
Diffstat (limited to 'src')
-rw-r--r--src/gconf-helper.c4
-rw-r--r--src/session-service.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gconf-helper.c b/src/gconf-helper.c
index 77fde1d..29d8526 100644
--- a/src/gconf-helper.c
+++ b/src/gconf-helper.c
@@ -62,11 +62,11 @@ static void update_menu_entries_callback (GConfClient *client, guint cnxn_id, GC
if (gconf_value_get_bool (value)) {
dbusmenu_menuitem_property_set(restart_shutdown_logout_mi->logout_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Log Out"));
dbusmenu_menuitem_property_set(restart_shutdown_logout_mi->restart_mi, RESTART_ITEM_LABEL, _("Restart"));
- dbusmenu_menuitem_property_set(restart_shutdown_logout_mi->shutdown_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Switch Off"));
+ dbusmenu_menuitem_property_set(restart_shutdown_logout_mi->shutdown_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Shut Down"));
} else {
dbusmenu_menuitem_property_set(restart_shutdown_logout_mi->logout_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Log Out..."));
dbusmenu_menuitem_property_set(restart_shutdown_logout_mi->restart_mi, RESTART_ITEM_LABEL, _("Restart..."));
- dbusmenu_menuitem_property_set(restart_shutdown_logout_mi->shutdown_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Switch Off..."));
+ dbusmenu_menuitem_property_set(restart_shutdown_logout_mi->shutdown_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Shut Down..."));
}
}
}
diff --git a/src/session-service.c b/src/session-service.c
index 514a86f..c1c2e57 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -661,9 +661,9 @@ rebuild_items (DbusmenuMenuitem *root,
shutdown_mi = dbusmenu_menuitem_new();
if (supress_confirmations()) {
- dbusmenu_menuitem_property_set(shutdown_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Switch Off"));
+ dbusmenu_menuitem_property_set(shutdown_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Shut Down"));
} else {
- dbusmenu_menuitem_property_set(shutdown_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Switch Off..."));
+ dbusmenu_menuitem_property_set(shutdown_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Shut Down..."));
}
dbusmenu_menuitem_child_append(root, shutdown_mi);
g_signal_connect(G_OBJECT(shutdown_mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(show_dialog), "shutdown");