mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
treewide: Use AdwToolbarView for all windows with header bars
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
parent
76697050e8
commit
b83339980b
3 changed files with 13 additions and 16 deletions
|
@ -4,9 +4,8 @@
|
|||
<requires lib="libadwaita" version="1.0"/>
|
||||
<template class="CallsSipAccountWidget" parent="GtkWidget">
|
||||
<child>
|
||||
<object class="GtkBox" id="child">
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="AdwToolbarView" id="child">
|
||||
<child type="top">
|
||||
<object class="AdwHeaderBar" id="header_add">
|
||||
<child type="end">
|
||||
<object class="GtkButton" id="login_btn">
|
||||
|
@ -23,7 +22,7 @@
|
|||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<child type="top">
|
||||
<object class="AdwHeaderBar" id="header_edit">
|
||||
<property name="visible">True</property>
|
||||
<child type="end">
|
||||
|
@ -51,7 +50,7 @@
|
|||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<property name="content">
|
||||
<object class="AdwPreferencesPage">
|
||||
<property name="visible">True</property>
|
||||
<child>
|
||||
|
@ -187,7 +186,7 @@
|
|||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
|
|
@ -8,9 +8,8 @@
|
|||
<property name="default-height">660</property>
|
||||
<property name="hide-on-close">True</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="AdwToolbarView">
|
||||
<child type="top">
|
||||
<object class="AdwHeaderBar">
|
||||
<property name="visible">True</property>
|
||||
<child type="end">
|
||||
|
@ -18,7 +17,7 @@
|
|||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<property name="content">
|
||||
<object class="AdwToastOverlay" id="toast_overlay">
|
||||
<property name="child">
|
||||
<object class="GtkStack" id="stack">
|
||||
|
@ -74,7 +73,7 @@
|
|||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
|
|
@ -7,9 +7,8 @@
|
|||
<property name="show_menubar">False</property>
|
||||
<property name="hide-on-close">True</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="AdwToolbarView">
|
||||
<child type="top">
|
||||
<object class="AdwHeaderBar">
|
||||
<property name="visible">True</property>
|
||||
<property name="centering_policy">strict</property>
|
||||
|
@ -32,7 +31,7 @@
|
|||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<property name="content">
|
||||
<object class="AdwToastOverlay" id="toast_overlay">
|
||||
<property name="child">
|
||||
<object class="GtkBox">
|
||||
|
@ -69,7 +68,7 @@
|
|||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue