aboutsummaryrefslogtreecommitdiff
path: root/src/volume-widget.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-01-27 16:13:08 -0500
committerKen VanDine <ken.vandine@canonical.com>2011-01-27 16:13:08 -0500
commit5338c77428955cf6701b5fa9cad84e135f6522b2 (patch)
tree45b8dd1f84a772c6a031a760abc7592236346779 /src/volume-widget.c
parent603ecf78d1f2e897ac60ecf585569c8758fe5d1e (diff)
parent759793a2dda77abd227921e119bb329271c36a55 (diff)
downloadayatana-indicator-sound-5338c77428955cf6701b5fa9cad84e135f6522b2.tar.gz
ayatana-indicator-sound-5338c77428955cf6701b5fa9cad84e135f6522b2.tar.bz2
ayatana-indicator-sound-5338c77428955cf6701b5fa9cad84e135f6522b2.zip
releasing version 0.5.7-0ubuntu1
Diffstat (limited to 'src/volume-widget.c')
-rw-r--r--src/volume-widget.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/volume-widget.c b/src/volume-widget.c
index 38dc9bb..ceebec5 100644
--- a/src/volume-widget.c
+++ b/src/volume-widget.c
@@ -137,7 +137,6 @@ volume_widget_property_update( DbusmenuMenuitem* item, gchar* property,
gdouble update = g_variant_get_double (value);
//g_debug("volume-widget - update level with value %f", update);
gtk_range_set_value(range, update);
- determine_state_from_volume(update);
}
}
}
@@ -157,7 +156,6 @@ volume_widget_set_twin_item(VolumeWidget* self,
GtkWidget *slider = ido_scale_menu_item_get_scale((IdoScaleMenuItem*)priv->ido_volume_slider);
GtkRange *range = (GtkRange*)slider;
gtk_range_set_value(range, initial_level);
- determine_state_from_volume(initial_level);
}
static gboolean
@@ -169,7 +167,6 @@ volume_widget_change_value_cb (GtkRange *range,
g_return_val_if_fail (IS_VOLUME_WIDGET (user_data), FALSE);
VolumeWidget* mitem = VOLUME_WIDGET(user_data);
volume_widget_update(mitem, new_value);
- determine_state_from_volume(new_value);
return FALSE;
}