aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-22 23:22:14 -0600
committerTed Gould <ted@gould.cx>2012-02-22 23:22:14 -0600
commitd88e2f6976a8e3cfe3d195899cc28a2706b8439f (patch)
treea1945f54e90e440837fdd75a04ed816b1841e04d
parent9b6ac737fa4440f59cc3ed230144957bfd8d89de (diff)
downloadayatana-indicator-session-d88e2f6976a8e3cfe3d195899cc28a2706b8439f.tar.gz
ayatana-indicator-session-d88e2f6976a8e3cfe3d195899cc28a2706b8439f.tar.bz2
ayatana-indicator-session-d88e2f6976a8e3cfe3d195899cc28a2706b8439f.zip
If we change the icon to show reboot we need to tell that to the a11y string as well
-rw-r--r--src/indicator-session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c
index 1640ed4..5d894e8 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -516,6 +516,8 @@ receive_signal (GDBusProxy * proxy,
g_debug ("reboot required");
indicator_image_helper_update(self->devices.image, ICON_RESTART);
}
+ self->devices.accessible_desc = _("Device Menu (reboot required)");
+ g_signal_emit(G_OBJECT(self), INDICATOR_OBJECT_SIGNAL_ACCESSIBLE_DESC_UPDATE_ID, 0, &(self->devices));
}
}