Add GtkSpinner::animation-duration style property

This commit is contained in:
Bastien Nocera
2009-10-14 18:43:05 +01:00
parent 9112194791
commit e9a240cd52
3 changed files with 28 additions and 6 deletions

View File

@ -275,8 +275,10 @@ do_list_store (GtkWidget *do_widget)
if (!GTK_WIDGET_VISIBLE (window))
{
gtk_widget_show_all (window);
if (timeout == 0)
if (timeout == 0) {
//FIXME this should use the animation-duration instead
timeout = g_timeout_add (80, spinner_timeout, NULL);
}
}
else
{