client: Rename main window leafets and their children

Make them a bit easier to reason about.
This commit is contained in:
Michael Gratton 2021-04-11 10:39:56 +10:00 committed by Michael James Gratton
parent 4eefe3013e
commit 78b3fddb6f
2 changed files with 49 additions and 36 deletions

View file

@ -18,14 +18,14 @@
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="HdyLeaflet" id="main_leaflet">
<object class="HdyLeaflet" id="outer_leaflet">
<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_main_leaflet_visible_child_changed" swapped="no"/>
<signal name="notify::child-transition-running" handler="on_main_leaflet_visible_child_changed" swapped="no"/>
<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"/>
<child>
<object class="HdyLeaflet" id="conversations_leaflet">
<object class="HdyLeaflet" id="inner_leaflet">
<property name="visible">True</property>
<property name="hexpand_set">True</property>
<property name="can_swipe_back">True</property>
@ -57,7 +57,7 @@
</child>
</object>
<packing>
<property name="name">folder</property>
<property name="name">folder_list</property>
</packing>
</child>
<child>
@ -122,12 +122,12 @@
</child>
</object>
<packing>
<property name="name">conversations</property>
<property name="name">conversation_list</property>
</packing>
</child>
</object>
<packing>
<property name="name">conversations</property>
<property name="name">inner_leaflet</property>
</packing>
</child>
<child>
@ -165,7 +165,7 @@
</child>
</object>
<packing>
<property name="name">conversation</property>
<property name="name">conversation_viewer</property>
</packing>
</child>
</object>
@ -222,12 +222,12 @@
</object>
<object class="HdySwipeGroup" id="conversations_swipe_group">
<swipeables>
<swipeable name="conversations_leaflet"/>
<swipeable name="inner_leaflet"/>
</swipeables>
</object>
<object class="HdySwipeGroup" id="conversation_swipe_group">
<swipeables>
<swipeable name="main_leaflet"/>
<swipeable name="outer_leaflet"/>
</swipeables>
</object>
</interface>