window: Use toolbar view for accounts page

We also set the title centering policy to strict. This is only needed
since the title is in a stack.
This commit is contained in:
Maximiliano Sandoval R 2023-06-20 20:30:25 +02:00
parent b92dba6090
commit cb32f77052
Failed to generate hash of commit

View file

@ -158,11 +158,10 @@
<object class="GtkStackPage">
<property name="name">accounts</property>
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkHeaderBar">
<property name="show-title-buttons">True</property>
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<property name="centering-policy">strict</property>
<child type="start">
<object class="GtkButton">
<property name="action-name">win.add_account</property>