aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-15 09:16:09 -0500
committerTed Gould <ted@canonical.com>2009-09-15 09:16:09 -0500
commit35cc4970e77115c83c54bd6a4035a3af761cc0b1 (patch)
treece3a679f17fae64bdb6b577b90a425bf29d3db29 /src
parent0bae63fccf73ab48515dcc4374e37935088d6b42 (diff)
downloadayatana-indicator-session-35cc4970e77115c83c54bd6a4035a3af761cc0b1.tar.gz
ayatana-indicator-session-35cc4970e77115c83c54bd6a4035a3af761cc0b1.tar.bz2
ayatana-indicator-session-35cc4970e77115c83c54bd6a4035a3af761cc0b1.zip
Changing the menu item to be 'Set Status' instead of the current status.
Diffstat (limited to 'src')
-rw-r--r--src/status-service.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/status-service.c b/src/status-service.c
index 8ce7962..c7ef20b 100644
--- a/src/status-service.c
+++ b/src/status-service.c
@@ -95,8 +95,6 @@ status_update (void) {
if (global_status != oldglobal) {
g_debug("Global status changed to: %s", _(status_strings[global_status]));
- /* Set the status name on the menu item */
- dbusmenu_menuitem_property_set(status_menuitem, DBUSMENU_MENUITEM_PROP_LABEL, _(status_strings[global_status]));
/* Configure the icon on the panel */
status_service_dbus_set_status(dbus_interface, status_icons[global_status]);
@@ -191,7 +189,7 @@ build_menu (gpointer data)
build_user_item(root);
status_menuitem = dbusmenu_menuitem_new();
- dbusmenu_menuitem_property_set(status_menuitem, DBUSMENU_MENUITEM_PROP_LABEL, _(status_strings[global_status]));
+ dbusmenu_menuitem_property_set(status_menuitem, DBUSMENU_MENUITEM_PROP_LABEL, _("Set Status"));
dbusmenu_menuitem_child_append(root, status_menuitem);
StatusProviderStatus i;