[gnome-clocks] Set transition-type in UI file
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Set transition-type in UI file
- Date: Fri, 7 Jan 2022 17:23:46 +0000 (UTC)
commit dbe2312b6767eb185b7072a60fcdf7ffd0edfdc2
Author: Maximiliano Sandoval R <msandova gnome org>
Date: Thu Dec 30 20:15:58 2021 +0100
Set transition-type in UI file
data/ui/timer-face.ui | 1 +
data/ui/world-face.ui | 1 +
src/timer-face.vala | 1 -
src/world-face.vala | 1 -
4 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/timer-face.ui b/data/ui/timer-face.ui
index 85634d43..74aebb0e 100644
--- a/data/ui/timer-face.ui
+++ b/data/ui/timer-face.ui
@@ -3,6 +3,7 @@
<template class="ClocksTimerFace" parent="AdwBin">
<child>
<object class="GtkStack" id="stack">
+ <property name="transition-type">crossfade</property>
<child>
<object class="GtkStackPage">
<property name="name">empty</property>
diff --git a/data/ui/world-face.ui b/data/ui/world-face.ui
index 204e896a..af44efad 100644
--- a/data/ui/world-face.ui
+++ b/data/ui/world-face.ui
@@ -5,6 +5,7 @@
<object class="GtkStack" id="stack">
<property name="hhomogeneous">False</property>
<property name="vhomogeneous">False</property>
+ <property name="transition-type">crossfade</property>
<child>
<object class="AdwStatusPage" id="empty_view">
<property name="icon_name">globe-centered-symbolic</property>
diff --git a/src/timer-face.vala b/src/timer-face.vala
index 18d15c84..aa6f00f9 100644
--- a/src/timer-face.vala
+++ b/src/timer-face.vala
@@ -45,7 +45,6 @@ public class Face : Adw.Bin, Clocks.Clock {
construct {
panel_id = TIMER;
- stack.transition_type = CROSSFADE;
timer_setup = new Setup ();
settings = new GLib.Settings ("org.gnome.clocks");
diff --git a/src/world-face.vala b/src/world-face.vala
index 409655a5..d7813504 100644
--- a/src/world-face.vala
+++ b/src/world-face.vala
@@ -41,7 +41,6 @@ public class Face : Adw.Bin, Clocks.Clock {
construct {
panel_id = WORLD;
- stack.transition_type = CROSSFADE;
locations = new ContentStore ();
settings = new GLib.Settings ("org.gnome.clocks");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]