diff options
author | Ted Gould <ted@gould.cx> | 2012-02-23 08:55:02 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-02-23 08:55:02 -0600 |
commit | a2a0779d48c596f1fda30a2d502bb3d419a83164 (patch) | |
tree | fdc5ab9af6d20c35d11c630e35db049cc797d40a /src/indicator-session.c | |
parent | 10923a8e6c73b0dbee321c33d4b40f1e90c8dd59 (diff) | |
parent | 2afbdf3abb677533b1fdfb25d8b0aa64ebb332f9 (diff) | |
download | ayatana-indicator-session-a2a0779d48c596f1fda30a2d502bb3d419a83164.tar.gz ayatana-indicator-session-a2a0779d48c596f1fda30a2d502bb3d419a83164.tar.bz2 ayatana-indicator-session-a2a0779d48c596f1fda30a2d502bb3d419a83164.zip |
Import upstream version 0.3.92
Diffstat (limited to 'src/indicator-session.c')
-rw-r--r-- | src/indicator-session.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c index e748825..5d894e8 100644 --- a/src/indicator-session.c +++ b/src/indicator-session.c @@ -162,6 +162,7 @@ indicator_session_init (IndicatorSession *self) } self->users.label = GTK_LABEL (gtk_label_new (NULL)); + self->users.accessible_desc = _("User Menu"); const gchar *greeter_var; greeter_var = g_getenv("INDICATOR_GREETER_MODE"); @@ -169,6 +170,7 @@ indicator_session_init (IndicatorSession *self) // devices self->devices.name_hint = PACKAGE"-devices"; + self->devices.accessible_desc = _("Device Menu"); self->devices.menu = GTK_MENU (dbusmenu_gtkmenu_new(INDICATOR_SESSION_DBUS_NAME, INDICATOR_SESSION_DBUS_OBJECT)); if (greeter_mode){ @@ -514,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)); } } |