aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service-dbus.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-02-18 13:20:43 -0500
committerKen VanDine <ken.vandine@canonical.com>2011-02-18 13:20:43 -0500
commit088e938b68d4993f6c472cd4a9c7c7b5a52fbdb7 (patch)
tree40b0981ba8fa8cd5d414440b04742723afeb39f4 /src/sound-service-dbus.c
parentb4b1c772dc57c3034cc80b785e4b472b8fe1b404 (diff)
parentfec38bea8091cc778bdbb236ed4c854b9cdcb34d (diff)
downloadayatana-indicator-sound-088e938b68d4993f6c472cd4a9c7c7b5a52fbdb7.tar.gz
ayatana-indicator-sound-088e938b68d4993f6c472cd4a9c7c7b5a52fbdb7.tar.bz2
ayatana-indicator-sound-088e938b68d4993f6c472cd4a9c7c7b5a52fbdb7.zip
Import upstream version 0.6.0
Diffstat (limited to 'src/sound-service-dbus.c')
-rw-r--r--src/sound-service-dbus.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sound-service-dbus.c b/src/sound-service-dbus.c
index 58367f4..9be39c7 100644
--- a/src/sound-service-dbus.c
+++ b/src/sound-service-dbus.c
@@ -157,14 +157,18 @@ sound_service_dbus_create_root_item (SoundServiceDbus* self)
void
sound_service_dbus_build_sound_menu ( SoundServiceDbus* self,
DbusmenuMenuitem* mute_item,
- DbusmenuMenuitem* slider_item)
+ DbusmenuMenuitem* slider_item,
+ DbusmenuMenuitem* voip_input_menu_item)
{
SoundServiceDbusPrivate * priv = SOUND_SERVICE_DBUS_GET_PRIVATE(self);
// Mute button
+ // TODO this additions should be fixed position, i.e. add via position and not just append
+ // be explicit as it is fixed.
dbusmenu_menuitem_child_append (priv->root_menuitem, mute_item);
- g_debug ("just about to add the slider %i", DBUSMENU_IS_MENUITEM(slider_item));
dbusmenu_menuitem_child_append (priv->root_menuitem, slider_item);
+ g_debug ("just about to add the slider %i", DBUSMENU_IS_MENUITEM(slider_item));
+ dbusmenu_menuitem_child_append (priv->root_menuitem, voip_input_menu_item);
// Separator
DbusmenuMenuitem* separator = dbusmenu_menuitem_new();