aboutsummaryrefslogtreecommitdiff
path: root/src/slider-menu-item.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-02-10 13:11:00 +0000
committerConor Curran <conor.curran@canonical.com>2010-02-10 13:11:00 +0000
commit1b4d886b058dcfc0c0c89631bdeb91209ebfcdda (patch)
tree515c6778ea438bdf966b5a52b30aaed76e52026d /src/slider-menu-item.c
parent8c992efe8d490c63021bca280c4e2d46f22bca40 (diff)
parentef8f7d725ef912219e1829d4c22db9abbc00df1a (diff)
downloadayatana-indicator-sound-1b4d886b058dcfc0c0c89631bdeb91209ebfcdda.tar.gz
ayatana-indicator-sound-1b4d886b058dcfc0c0c89631bdeb91209ebfcdda.tar.bz2
ayatana-indicator-sound-1b4d886b058dcfc0c0c89631bdeb91209ebfcdda.zip
merged with dev branch - should be seen as first release from now on will request merges
Diffstat (limited to 'src/slider-menu-item.c')
-rw-r--r--src/slider-menu-item.c3
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;
}