summaryrefslogtreecommitdiff
path: root/capplets/sound
diff options
context:
space:
mode:
authorJens Granseuer <jensgr@gmx.net>2007-05-27 18:50:41 +0000
committerJens Granseuer <jensg@src.gnome.org>2007-05-27 18:50:41 +0000
commitd66e29fc599c7799e07b732db6b7c32f4eed01d7 (patch)
treea1a4e18af1d8e5515765c63ac775ef6d95c00e7f /capplets/sound
parent1f606a3e3d86793b4e7ade4bf912e3a9aa10b108 (diff)
downloadgnome-control-center-d66e29fc599c7799e07b732db6b7c32f4eed01d7.tar.gz
use g_timeout_add() instead of the deprecated gtk_timeout_add() set non-0
2007-05-27 Jens Granseuer <jensgr@gmx.net> * pipeline-tests.c: (user_test_pipeline): use g_timeout_add() instead of the deprecated gtk_timeout_add() * sound-properties.glade: set non-0 pulse step for the progress bar to actually make it move (fixes bug #441587) svn path=/trunk/; revision=7664
Diffstat (limited to 'capplets/sound')
-rw-r--r--capplets/sound/ChangeLog7
-rw-r--r--capplets/sound/pipeline-tests.c4
-rw-r--r--capplets/sound/sound-properties.glade2
3 files changed, 10 insertions, 3 deletions
diff --git a/capplets/sound/ChangeLog b/capplets/sound/ChangeLog
index 6317f579a..4b43614c1 100644
--- a/capplets/sound/ChangeLog
+++ b/capplets/sound/ChangeLog
@@ -1,3 +1,10 @@
+2007-05-27 Jens Granseuer <jensgr@gmx.net>
+
+ * pipeline-tests.c: (user_test_pipeline): use g_timeout_add() instead
+ of the deprecated gtk_timeout_add()
+ * sound-properties.glade: set non-0 pulse step for the progress bar to
+ actually make it move (fixes bug #441587)
+
2007-05-06 Jens Granseuer <jensgr@gmx.net>
* sound-properties-capplet.c: (create_dialog), (main): don't crash if
diff --git a/capplets/sound/pipeline-tests.c b/capplets/sound/pipeline-tests.c
index 90166a05d..90566693e 100644
--- a/capplets/sound/pipeline-tests.c
+++ b/capplets/sound/pipeline-tests.c
@@ -53,7 +53,7 @@ user_test_pipeline_response (GtkDialog * widget, gint response_id,
}
/* Timer timeout has been occurred */
-static gint
+static gboolean
user_test_pipeline_timeout (gpointer data)
{
gtk_progress_bar_pulse (GTK_PROGRESS_BAR (data));
@@ -163,7 +163,7 @@ user_test_pipeline (GladeXML * interface_xml,
if (dialog) {
gtk_window_present (GTK_WINDOW (dialog));
timeout_tag =
- gtk_timeout_add (50, user_test_pipeline_timeout,
+ g_timeout_add (50, user_test_pipeline_timeout,
WID ("test_pipeline_progress"));
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_timeout_remove (timeout_tag);
diff --git a/capplets/sound/sound-properties.glade b/capplets/sound/sound-properties.glade
index 1fc649602..3aac8930c 100644
--- a/capplets/sound/sound-properties.glade
+++ b/capplets/sound/sound-properties.glade
@@ -92,7 +92,7 @@
<property name="visible">True</property>
<property name="orientation">GTK_PROGRESS_LEFT_TO_RIGHT</property>
<property name="fraction">0</property>
- <property name="pulse_step">0</property>
+ <property name="pulse_step">0.05</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
</widget>
<packing>