client: Simplify main window outer leaflet state change handling

This commit is contained in:
Michael Gratton 2021-04-11 11:58:55 +10:00 committed by Michael James Gratton
parent 5aea0ad10f
commit dbb9cc35e8
2 changed files with 20 additions and 11 deletions

View file

@ -22,8 +22,8 @@
<property name="visible">True</property>
<property name="can_swipe_back">True</property>
<property name="transition_type">over</property>
<signal name="notify::visible-child" handler="on_outer_leaflet_visible_child_changed" swapped="no"/>
<signal name="notify::child-transition-running" handler="on_outer_leaflet_visible_child_changed" swapped="no"/>
<signal name="notify::folded" handler="on_outer_leaflet_changed" swapped="no"/>
<signal name="notify::visible-child" handler="on_outer_leaflet_changed" swapped="no"/>
<child>
<object class="HdyLeaflet" id="inner_leaflet">
<property name="visible">True</property>