From e1c268aa248f8998497221a0245796a943980ef5 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 17 Feb 2011 11:59:42 -0600 Subject: Updating the description when we signal that it's changed --- src/indicator-messages.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/indicator-messages.c b/src/indicator-messages.c index 9c57856..aff4785 100644 --- a/src/indicator-messages.c +++ b/src/indicator-messages.c @@ -94,14 +94,19 @@ static void update_a11y_desc (void) { g_return_if_fail(IS_INDICATOR_MESSAGES(indicator)); - GList *entry = indicator_object_get_entries(indicator); + + GList *entries = indicator_object_get_entries(indicator); + IndicatorObjectEntry * entry = (IndicatorObjectEntry *)entries->data; + + entry->accessible_desc = get_accessible_desc(indicator); g_signal_emit(G_OBJECT(indicator), INDICATOR_OBJECT_SIGNAL_ACCESSIBLE_DESC_UPDATE_ID, 0, - entry->data, - TRUE); - g_list_free(entry); + entry, + TRUE); + + g_list_free(entries); return; } -- cgit v1.2.3