summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAdrien Plazas <kekun.plazas@laposte.net>2022-08-18 17:21:19 +0200
committerNiels De Graef <nielsdegraef@gmail.com>2022-09-03 08:15:44 +0000
commit1321e8b60b317db59a90d0ae511567e737740222 (patch)
treea360e485adaca1de972b685d3b3ae134ea7f8382 /data
parent59ac39fa7e0d62130303e7bf3d38dfdda2321187 (diff)
downloadgnome-contacts-1321e8b60b317db59a90d0ae511567e737740222.tar.gz
main-window: Drop the current contact after the transition
This avoids the current contact to instantaneously disappear as the transition is running or as we the user is swiping back, and close the contact only once the contact pane is hidden.
Diffstat (limited to 'data')
-rw-r--r--data/ui/contacts-main-window.ui1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/ui/contacts-main-window.ui b/data/ui/contacts-main-window.ui
index 482c7ac..3d01bdc 100644
--- a/data/ui/contacts-main-window.ui
+++ b/data/ui/contacts-main-window.ui
@@ -62,6 +62,7 @@
<child>
<object class="AdwLeaflet" id="content_box">
<property name="can-navigate-back">True</property>
+ <signal name="notify::child-transition-running" handler="on_visible_child"/>
<signal name="notify::folded" handler="on_folded"/>
<signal name="notify::visible-child" handler="on_visible_child"/>