aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service-dbus.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-04 14:30:17 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-04 14:30:17 +0000
commit16bdc89ecb9aa7e31d7efd8b34b0a632d4440f5e (patch)
tree4b76b19fb70c9b89b53ee70c3f364573a13a8db6 /src/sound-service-dbus.c
parentbcf0cc17469edbb8b882884bdd6ae2155a809d01 (diff)
downloadayatana-indicator-sound-16bdc89ecb9aa7e31d7efd8b34b0a632d4440f5e.tar.gz
ayatana-indicator-sound-16bdc89ecb9aa7e31d7efd8b34b0a632d4440f5e.tar.bz2
ayatana-indicator-sound-16bdc89ecb9aa7e31d7efd8b34b0a632d4440f5e.zip
iconthemepath work in progress
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 b493ce8..ce32beb 100644
--- a/src/sound-service-dbus.c
+++ b/src/sound-service-dbus.c
@@ -147,7 +147,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);
+ gchar** paths = {'/usr/share/banshee-1/icons'};
+ dbusmenu_server_set_icon_paths (server,
+ g_strdupv(paths));
dbusmenu_server_set_root (server, priv->root_menuitem);
g_object_unref (priv->root_menuitem);
priv->active_sink = active_sink_new (self);