This is called after a successful property update is received in the volume-widget (just after the said code above). Are you now suggesting that this method needs to call a dbusmenu_property_set using the DBUSMENU_MENUITEM_PROP_ACCESSIBLE_DESC as opposed to emitting that signal ?
Previously Luke you had added this method to the indicator-sound.c.
void accessible_ desc (IndicatorObject * io) object_ get_entries( io); ctEntry * entry = (IndicatorObjec tEntry *)entries->data;
update_
{
GList *entries = indicator_
if (!entries)
return;
IndicatorObje
IndicatorSoun dPrivate* priv = INDICATOR_ SOUND_GET_ PRIVATE( io); e_desc;
gchar *old_desc = priv->accessibl
if (priv-> volume_ widget) { >accessible_ desc = g_strdup_ printf( _("Volume (%'.0f%%)"),
volume_ widget_ get_current_ volume (priv-> volume_ widget) ); >accessible_ desc = NULL;
priv-
}
else {
priv-
}
entry- >accessible_ desc = priv->accessibl e_desc; emit(G_ OBJECT( io),
INDICATOR_ OBJECT_ SIGNAL_ ACCESSIBLE_ DESC_UPDATE_ ID,
entry,
TRUE) ; free(entries) ;
g_free (old_desc);
g_signal_
0,
g_list_
}
This is called after a successful property update is received in the volume-widget (just after the said code above). Are you now suggesting that this method needs to call a dbusmenu_ property_ set using the DBUSMENU_ MENUITEM_ PROP_ACCESSIBLE _DESC as opposed to emitting that signal ?