aboutsummaryrefslogtreecommitdiff
path: root/src/volume-widget.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-22 00:01:53 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-22 00:01:53 +0000
commit851b1bb2b1acaa5440f66d69948a066779ddf862 (patch)
tree8a1b44160ae89ad9a6be15c95179d3c102ec1455 /src/volume-widget.c
parent6a501d5787eec8bfef3558d14a36754f7be22858 (diff)
downloadayatana-indicator-sound-851b1bb2b1acaa5440f66d69948a066779ddf862.tar.gz
ayatana-indicator-sound-851b1bb2b1acaa5440f66d69948a066779ddf862.tar.bz2
ayatana-indicator-sound-851b1bb2b1acaa5440f66d69948a066779ddf862.zip
more trace added
Diffstat (limited to 'src/volume-widget.c')
-rw-r--r--src/volume-widget.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/volume-widget.c b/src/volume-widget.c
index 1a6895e..77392c8 100644
--- a/src/volume-widget.c
+++ b/src/volume-widget.c
@@ -131,6 +131,12 @@ volume_widget_property_update( DbusmenuMenuitem* item, gchar* property,
g_return_if_fail (IS_VOLUME_WIDGET (userdata));
VolumeWidget* mitem = VOLUME_WIDGET(userdata);
VolumeWidgetPrivate * priv = VOLUME_WIDGET_GET_PRIVATE(mitem);
+
+ g_debug ("volume-widget::volume_widget_property_update for prop %s, is it a double %i",
+ property, g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE) );
+ g_debug ("volume-widget::volume_widget_property_update for prop %s, is it a boolean %i",
+ property, g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN) );
+
if(g_ascii_strcasecmp(DBUSMENU_VOLUME_MENUITEM_LEVEL, property) == 0){
g_return_if_fail (g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE) );
if(priv->grabbed == FALSE){
@@ -139,7 +145,7 @@ volume_widget_property_update( DbusmenuMenuitem* item, gchar* property,
gdouble update = g_variant_get_double (value);
gtk_range_set_value(range, update);
update_accessible_desc(priv->indicator);
- g_debug ("volume-widget::volume_widget_property_update - mute - value %f", update);
+ g_debug ("volume-widget::volume_widget_property_update - volume - value %f", update);
}
}
else if(g_ascii_strcasecmp(DBUSMENU_VOLUME_MENUITEM_MUTE, property) == 0){