diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-02-04 18:09:28 -0800 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-02-04 18:09:28 -0800 |
commit | 8c992efe8d490c63021bca280c4e2d46f22bca40 (patch) | |
tree | f25e8d8cd72f93447ae5a726074430d16c0994c0 | |
parent | 7936e4a4f64c9ad41ac1aad62f7c6a221f033781 (diff) | |
download | ayatana-indicator-sound-8c992efe8d490c63021bca280c4e2d46f22bca40.tar.gz ayatana-indicator-sound-8c992efe8d490c63021bca280c4e2d46f22bca40.tar.bz2 ayatana-indicator-sound-8c992efe8d490c63021bca280c4e2d46f22bca40.zip |
and another dbus const change reflected
-rw-r--r-- | src/slider-menu-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slider-menu-item.c b/src/slider-menu-item.c index 02a5605..2620e6e 100644 --- a/src/slider-menu-item.c +++ b/src/slider-menu-item.c @@ -94,7 +94,7 @@ SliderMenuItem* slider_menu_item_new(gboolean sinks_available, gdouble start_vol //SliderMenuItemPrivate * priv = SLIDER_MENU_ITEM_GET_PRIVATE(self); dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_TYPE, DBUSMENU_SLIDER_MENUITEM_TYPE); //TODO: If no valid sinks are found grey out the item(s) - dbusmenu_menuitem_property_set_bool(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_SENSITIVE, sinks_available); + dbusmenu_menuitem_property_set_bool(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_ENABLED, sinks_available); //g_debug("Sending the initial value of the slider over dbus = %f", start_volume * 100); return self; } |