aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-02-04 17:52:34 -0800
committerConor Curran <conor.curran@canonical.com>2010-02-04 17:52:34 -0800
commit7936e4a4f64c9ad41ac1aad62f7c6a221f033781 (patch)
tree3f7f23d7fb3ad94cdd1b1e73102296dccf344a23 /src
parent0efbcfaf5937a345fdfb2c10ae270908d2ff1c44 (diff)
downloadayatana-indicator-sound-7936e4a4f64c9ad41ac1aad62f7c6a221f033781.tar.gz
ayatana-indicator-sound-7936e4a4f64c9ad41ac1aad62f7c6a221f033781.tar.bz2
ayatana-indicator-sound-7936e4a4f64c9ad41ac1aad62f7c6a221f033781.zip
change to reflect change in libdbusmenu
Diffstat (limited to 'src')
-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 12fb7bf..76975cd 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);