widget-factory: Enable page transitions by default

No need to make this an easter egg.
This commit is contained in:
Matthias Clasen 2020-04-27 14:33:07 -04:00
parent 99dd33a9a3
commit 80185b0f2a
2 changed files with 2 additions and 1 deletions

View File

@ -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 },

View File

@ -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>