[gnome-builder/wip/project-selector: 52/66] project-selector: synchronize animation times



commit a1629a7665a5d2a8e25478d08bd0fd902cae1540
Author: Christian Hergert <christian hergert me>
Date:   Fri Apr 3 20:52:38 2015 -0700

    project-selector: synchronize animation times

 src/dialogs/gb-new-project-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/dialogs/gb-new-project-dialog.c b/src/dialogs/gb-new-project-dialog.c
index 5ea3489..5c1ae2f 100644
--- a/src/dialogs/gb-new-project-dialog.c
+++ b/src/dialogs/gb-new-project-dialog.c
@@ -174,7 +174,7 @@ gb_new_project_dialog__clone_cb (GObject      *object,
    * Wait for a second so animations can complete before opening
    * the project. Otherwise, it's pretty jarring to the user.
    */
-  g_timeout_add_seconds (1, open_after_timeout, g_object_ref (task));
+  g_timeout_add (ANIMATION_DURATION_MSEC, open_after_timeout, g_object_ref (task));
 }
 
 static gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]