aboutsummaryrefslogtreecommitdiff
path: root/src/slider-menu-item.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-02-04 12:54:50 -0800
committerConor Curran <conor.curran@canonical.com>2010-02-04 12:54:50 -0800
commit9099e09f7a3e60da031bdd48b69f07d283d6d599 (patch)
treeadabe0fbff532cb981810d72a42c32b364c71e1b /src/slider-menu-item.c
parent3ae4622f023e91f1963aae272e443593b41db705 (diff)
downloadayatana-indicator-sound-9099e09f7a3e60da031bdd48b69f07d283d6d599.tar.gz
ayatana-indicator-sound-9099e09f7a3e60da031bdd48b69f07d283d6d599.tar.bz2
ayatana-indicator-sound-9099e09f7a3e60da031bdd48b69f07d283d6d599.zip
bug found
Diffstat (limited to 'src/slider-menu-item.c')
-rw-r--r--src/slider-menu-item.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/slider-menu-item.c b/src/slider-menu-item.c
index b26a90f..02a5605 100644
--- a/src/slider-menu-item.c
+++ b/src/slider-menu-item.c
@@ -56,13 +56,6 @@ static void slider_menu_item_class_init (SliderMenuItemClass *klass)
DbusmenuMenuitemClass * mclass = DBUSMENU_MENUITEM_CLASS(klass);
mclass->handle_event = handle_event;
-/* signals[VOLUME_CHANGED] = g_signal_new(SLIDER_MENU_ITEM_SIGNAL_VOLUME_CHANGED,*/
-/* G_TYPE_FROM_CLASS(klass),*/
-/* G_SIGNAL_RUN_LAST,*/
-/* G_STRUCT_OFFSET (SliderMenuItemClass, volume_changed),*/
-/* NULL, NULL,*/
-/* g_cclosure_marshal_VOID__DOUBLE,*/
-/* G_TYPE_NONE, 1, G_TYPE_DOUBLE);*/
return;
}
@@ -102,7 +95,7 @@ SliderMenuItem* slider_menu_item_new(gboolean sinks_available, gdouble start_vol
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);
- g_debug("Sending the initial value of the slider over dbus = %f", start_volume * 100);
+ //g_debug("Sending the initial value of the slider over dbus = %f", start_volume * 100);
return self;
}