gnome-media r4067 - in trunk/gnome-volume-control: . src
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-media r4067 - in trunk/gnome-volume-control: . src
- Date: Wed, 19 Nov 2008 19:52:47 +0000 (UTC)
Author: mccann
Date: Wed Nov 19 19:52:47 2008
New Revision: 4067
URL: http://svn.gnome.org/viewvc/gnome-media?rev=4067&view=rev
Log:
2008-11-19 William Jon McCann <jmccann redhat com>
* src/gvc-channel-bar.c (_scale_box_new), (gvc_channel_bar_new):
* src/gvc-mixer-control.c (_set_default_source),
(_set_default_sink):
Make range update policy discontinuous.
Modified:
trunk/gnome-volume-control/ChangeLog
trunk/gnome-volume-control/src/gvc-channel-bar.c
trunk/gnome-volume-control/src/gvc-mixer-control.c
Modified: trunk/gnome-volume-control/src/gvc-channel-bar.c
==============================================================================
--- trunk/gnome-volume-control/src/gvc-channel-bar.c (original)
+++ trunk/gnome-volume-control/src/gvc-channel-bar.c Wed Nov 19 19:52:47 2008
@@ -114,6 +114,8 @@
gtk_box_pack_start (GTK_BOX (box), priv->mute_box, FALSE, FALSE, 0);
}
+ gtk_range_set_update_policy (GTK_RANGE (priv->scale), GTK_UPDATE_DISCONTINUOUS);
+
if (bar->priv->size_group != NULL) {
gtk_size_group_add_widget (bar->priv->size_group, bar->priv->label);
}
@@ -578,6 +580,7 @@
gvc_channel_bar_new (void)
{
GObject *bar;
- bar = g_object_new (GVC_TYPE_CHANNEL_BAR, NULL);
+ bar = g_object_new (GVC_TYPE_CHANNEL_BAR,
+ NULL);
return GTK_WIDGET (bar);
}
Modified: trunk/gnome-volume-control/src/gvc-mixer-control.c
==============================================================================
--- trunk/gnome-volume-control/src/gvc-mixer-control.c (original)
+++ trunk/gnome-volume-control/src/gvc-mixer-control.c Wed Nov 19 19:52:47 2008
@@ -310,8 +310,6 @@
new_id = gvc_mixer_stream_get_id (stream);
}
- g_debug ("GvcMixerControl: setting new default source %u (was %u)", new_id, control->priv->default_source_id);
-
if (control->priv->default_source_id != new_id) {
control->priv->default_source_id = new_id;
control->priv->default_source_is_set = TRUE;
@@ -334,8 +332,6 @@
new_id = gvc_mixer_stream_get_id (stream);
}
- g_debug ("GvcMixerControl: setting new default sink %u (was %u)", new_id, control->priv->default_sink_id);
-
if (control->priv->default_sink_id != new_id) {
control->priv->default_sink_id = new_id;
control->priv->default_sink_is_set = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]