summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-04-27 14:33:07 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-04-27 14:33:07 -0400
commit80185b0f2abe2c60f8423d0746fa01922d3f95fb (patch)
treeb1ac164361a1bed8a3e53f1c9a10197c0ae48173 /demos
parent99dd33a9a3a9a1c0bcc0317d0e5c172936f867d6 (diff)
downloadgtk+-80185b0f2abe2c60f8423d0746fa01922d3f95fb.tar.gz
widget-factory: Enable page transitions by default
No need to make this an easter egg.
Diffstat (limited to 'demos')
-rw-r--r--demos/widget-factory/widget-factory.c2
-rw-r--r--demos/widget-factory/widget-factory.ui1
2 files changed, 2 insertions, 1 deletions
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index b3ec8be1ad..3653b763bf 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -1799,7 +1799,7 @@ activate (GApplication *app)
static GActionEntry win_entries[] = {
{ "dark", NULL, NULL, "false", change_dark_state },
{ "theme", NULL, "s", "'current'", change_theme_state },
- { "transition", NULL, NULL, "false", change_transition_state },
+ { "transition", NULL, NULL, "true", change_transition_state },
{ "search", activate_search, NULL, NULL, NULL },
{ "delete", activate_delete, NULL, NULL, NULL },
{ "busy", get_busy, NULL, NULL, NULL },
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index c71564248d..e4800f7242 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -461,6 +461,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
<child>
<object class="GtkStack" id="toplevel_stack">
<property name="transition-duration">250</property>
+ <property name="transition-type">crossfade</property>
<child>
<object class="GtkStackPage">
<property name="name">page1</property>