diff options
Diffstat (limited to 'capplets')
-rw-r--r-- | capplets/sound/ChangeLog | 7 | ||||
-rw-r--r-- | capplets/sound/pipeline-tests.c | 4 | ||||
-rw-r--r-- | capplets/sound/sound-properties.glade | 2 |
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> |