aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-03-21 15:27:52 -0500
committerTed Gould <ted@gould.cx>2012-03-21 15:27:52 -0500
commitb4a2449ace91863bc187500e1a4eb3048c350711 (patch)
treecbca4ffcf3bea98adff7a7293dd9f0f18aa96fb6 /src
parent2cb10b4b604e7e7d66fb6f6183755afcad57723a (diff)
parent2ac0106d8114b81b86bfaeabf8746375425563a2 (diff)
downloadayatana-indicator-messages-b4a2449ace91863bc187500e1a4eb3048c350711.tar.gz
ayatana-indicator-messages-b4a2449ace91863bc187500e1a4eb3048c350711.tar.bz2
ayatana-indicator-messages-b4a2449ace91863bc187500e1a4eb3048c350711.zip
Sync up to Ubuntu Desktop
Diffstat (limited to 'src')
-rw-r--r--src/im-menu-item.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/im-menu-item.c b/src/im-menu-item.c
index f07fff9..7466d3e 100644
--- a/src/im-menu-item.c
+++ b/src/im-menu-item.c
@@ -175,7 +175,11 @@ im_menu_item_finalize (GObject *object)
static void
icon_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, const gchar * propertydata, gpointer data)
{
- dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(data), INDICATOR_MENUITEM_PROP_ICON, propertydata);
+ gsize len;
+ guchar *icon;
+ icon = g_base64_decode (propertydata, &len);
+ dbusmenu_menuitem_property_set_byte_array(DBUSMENU_MENUITEM(data), INDICATOR_MENUITEM_PROP_ICON, icon, len);
+ g_free (icon);
return;
}