aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-02-04 18:01:13 -0800
committerConor Curran <conor.curran@canonical.com>2010-02-04 18:01:13 -0800
commit279ebae33dd7790293516ad8e4c4a179b83d5186 (patch)
treeee2500758726d3af08fe2df57aec9c94f81f4633 /src/sound-service.c
parentf63890bd42b350f80c7a8d13adda9ffc58e18eb1 (diff)
downloadayatana-indicator-sound-279ebae33dd7790293516ad8e4c4a179b83d5186.tar.gz
ayatana-indicator-sound-279ebae33dd7790293516ad8e4c4a179b83d5186.tar.bz2
ayatana-indicator-sound-279ebae33dd7790293516ad8e4c4a179b83d5186.zip
updates for libdbus changes and new state machine pattern for the icon indicator
Diffstat (limited to 'src/sound-service.c')
-rw-r--r--src/sound-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound-service.c b/src/sound-service.c
index 7cf065c..101cd18 100644
--- a/src/sound-service.c
+++ b/src/sound-service.c
@@ -76,7 +76,7 @@ static void rebuild_sound_menu(DbusmenuMenuitem *root, SoundServiceDbus *service
dbusmenu_menuitem_property_set(mute_all_menuitem, DBUSMENU_MENUITEM_PROP_LABEL, _(b_all_muted == FALSE ? "Mute All" : "Unmute"));
g_signal_connect(G_OBJECT(mute_all_menuitem), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(set_global_mute), NULL);
//TODO: If no valid sinks are found grey out the item(s)
- dbusmenu_menuitem_property_set_bool(mute_all_menuitem, DBUSMENU_MENUITEM_PROP_SENSITIVE, b_sink_available);
+ dbusmenu_menuitem_property_set_bool(mute_all_menuitem, DBUSMENU_MENUITEM_PROP_ENABLED, b_sink_available);
// Slider
volume_slider_menuitem = slider_menu_item_new(b_sink_available, volume_percent);