diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-02-08 19:19:07 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-02-08 19:19:07 +0000 |
commit | bf02109517f8e770373e13fc78cdda3019d77f04 (patch) | |
tree | 8ac695e9ac59e2b60930b53f7fcdca91d2311442 /src/slider-menu-item.c | |
parent | d1e576becc28434d42e29640b8674342f8b6f521 (diff) | |
download | ayatana-indicator-sound-bf02109517f8e770373e13fc78cdda3019d77f04.tar.gz ayatana-indicator-sound-bf02109517f8e770373e13fc78cdda3019d77f04.tar.bz2 ayatana-indicator-sound-bf02109517f8e770373e13fc78cdda3019d77f04.zip |
mute ui updates from external intervention
Diffstat (limited to 'src/slider-menu-item.c')
-rw-r--r-- | src/slider-menu-item.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/slider-menu-item.c b/src/slider-menu-item.c index 2620e6e..2e8321d 100644 --- a/src/slider-menu-item.c +++ b/src/slider-menu-item.c @@ -91,11 +91,8 @@ handle_event (DbusmenuMenuitem * mi, const gchar * name, const GValue * value, g SliderMenuItem* slider_menu_item_new(gboolean sinks_available, gdouble start_volume) { SliderMenuItem *self = g_object_new(SLIDER_MENU_ITEM_TYPE, NULL); - //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_ENABLED, sinks_available); - //g_debug("Sending the initial value of the slider over dbus = %f", start_volume * 100); return self; } |