window: Port to AdwToolbarView
Applications should use AdwToolbarView going forward to contain their headerbar and content. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2802>
This commit is contained in:
parent
55ae4c0806
commit
382434103c
@ -17,9 +17,8 @@
|
|||||||
<property name="default-height">500</property>
|
<property name="default-height">500</property>
|
||||||
<property name="title" translatable="yes">Extensions</property>
|
<property name="title" translatable="yes">Extensions</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="AdwToolbarView">
|
||||||
<property name="orientation">vertical</property>
|
<child type="top">
|
||||||
<child>
|
|
||||||
<object class="GtkHeaderBar">
|
<object class="GtkHeaderBar">
|
||||||
<child type="end">
|
<child type="end">
|
||||||
<object class="GtkMenuButton" id="menuButton">
|
<object class="GtkMenuButton" id="menuButton">
|
||||||
@ -53,7 +52,7 @@
|
|||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child type="top">
|
||||||
<object class="GtkSearchBar" id="searchBar">
|
<object class="GtkSearchBar" id="searchBar">
|
||||||
<property name="key-capture-widget">ExtensionsWindow</property>
|
<property name="key-capture-widget">ExtensionsWindow</property>
|
||||||
<property name="search-mode-enabled"
|
<property name="search-mode-enabled"
|
||||||
@ -67,7 +66,7 @@
|
|||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<property name="content">
|
||||||
<object class="GtkStack" id="mainStack">
|
<object class="GtkStack" id="mainStack">
|
||||||
<property name="transition-type">crossfade</property>
|
<property name="transition-type">crossfade</property>
|
||||||
<property name="vexpand">True</property>
|
<property name="vexpand">True</property>
|
||||||
@ -148,8 +147,8 @@
|
|||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</property>
|
||||||
<child>
|
<child type="bottom">
|
||||||
<object class="GtkActionBar" id="updatesBar">
|
<object class="GtkActionBar" id="updatesBar">
|
||||||
<property name="revealed">False</property>
|
<property name="revealed">False</property>
|
||||||
<child>
|
<child>
|
||||||
|
Loading…
Reference in New Issue
Block a user