summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-08-31 11:59:19 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-09-25 23:54:31 -0400
commit256da35c11d705f9c4a6ef7c44c3207b7fca37be (patch)
treeeb32ac1835edf8c1eb52f1775f1f7a18bbc72f58 /tests
parent98b78ed5da0c63df49a31f199b8147f45f40952b (diff)
downloadgtk+-256da35c11d705f9c4a6ef7c44c3207b7fca37be.tar.gz
Test new transition types
We should make teststack pick up new transitions automatically. For now, we have to add them manually. https://bugzilla.gnome.org/show_bug.cgi?id=707187
Diffstat (limited to 'tests')
-rw-r--r--tests/teststack.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/teststack.c b/tests/teststack.c
index e684d2378b..76933ee1ac 100644
--- a/tests/teststack.c
+++ b/tests/teststack.c
@@ -123,7 +123,7 @@ main (gint argc,
stack = gtk_stack_new ();
/* Make transitions longer so we can see that they work */
- gtk_stack_set_transition_duration (GTK_STACK (stack), 500);
+ gtk_stack_set_transition_duration (GTK_STACK (stack), 1500);
gtk_widget_set_halign (stack, GTK_ALIGN_START);
gtk_container_add (GTK_CONTAINER (box), stack);
@@ -218,6 +218,15 @@ main (gint argc,
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "SLIDE_DOWN");
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "SLIDE_LEFT_RIGHT");
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "SLIDE_UP_DOWN");
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "OVER_UP");
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "OVER_DOWN");
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "OVER_LEFT");
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "OVER_RIGHT");
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "UNDER_UP");
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "UNDER_DOWN");
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "UNDER_LEFT");
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "UNDER_RIGHT");
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "OVER_UP_DOWN");
gtk_combo_box_set_active (GTK_COMBO_BOX (combo), 0);
gtk_container_add (GTK_CONTAINER (hbox), combo);