aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service-dbus.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-11 15:24:11 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-11 15:24:11 +0000
commit4eb79a1becd4abf459d86754685577b762bb895a (patch)
treed168c1f4c2641cc85ccce6a715afb85524d59666 /src/sound-service-dbus.c
parenta3b638eb52e751626c7e14beac3a8f29342ce703 (diff)
parent6b0f3ffcaf55d151d87f8dc60d16388b8f4557a2 (diff)
downloadayatana-indicator-sound-4eb79a1becd4abf459d86754685577b762bb895a.tar.gz
ayatana-indicator-sound-4eb79a1becd4abf459d86754685577b762bb895a.tar.bz2
ayatana-indicator-sound-4eb79a1becd4abf459d86754685577b762bb895a.zip
missing icon for playlists fixed
Diffstat (limited to 'src/sound-service-dbus.c')
-rw-r--r--src/sound-service-dbus.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sound-service-dbus.c b/src/sound-service-dbus.c
index 43d7360..8d0cc0b 100644
--- a/src/sound-service-dbus.c
+++ b/src/sound-service-dbus.c
@@ -149,7 +149,10 @@ sound_service_dbus_create_root_item (SoundServiceDbus* self)
SoundServiceDbusPrivate * priv = SOUND_SERVICE_DBUS_GET_PRIVATE(self);
priv->root_menuitem = dbusmenu_menuitem_new();
g_debug("Root ID: %d", dbusmenu_menuitem_get_id(priv->root_menuitem));
- DbusmenuServer *server = dbusmenu_server_new(INDICATOR_SOUND_MENU_DBUS_OBJECT_PATH);
+ DbusmenuServer *server = dbusmenu_server_new (INDICATOR_SOUND_MENU_DBUS_OBJECT_PATH);
+ const gchar* paths[] = {"/usr/share/banshee-1/icons", NULL};
+ dbusmenu_server_set_icon_paths (server,
+ paths);
dbusmenu_server_set_root (server, priv->root_menuitem);
g_object_unref (priv->root_menuitem);
priv->active_sink = active_sink_new (self);