window: Port to AdwApplicationWindow
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2802>
This commit is contained in:
parent
9e5dfa2221
commit
55ae4c0806
@ -12,11 +12,14 @@
|
||||
</item>
|
||||
</section>
|
||||
</menu>
|
||||
<template class="ExtensionsWindow" parent="GtkApplicationWindow">
|
||||
<template class="ExtensionsWindow" parent="AdwApplicationWindow">
|
||||
<property name="default-width">800</property>
|
||||
<property name="default-height">500</property>
|
||||
<property name="title" translatable="yes">Extensions</property>
|
||||
<child type="titlebar">
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkHeaderBar">
|
||||
<child type="end">
|
||||
<object class="GtkMenuButton" id="menuButton">
|
||||
@ -50,9 +53,6 @@
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkSearchBar" id="searchBar">
|
||||
<property name="key-capture-widget">ExtensionsWindow</property>
|
||||
|
@ -88,7 +88,7 @@ var ExtensionsWindow = GObject.registerClass({
|
||||
'updatesBar',
|
||||
'updatesLabel',
|
||||
],
|
||||
}, class ExtensionsWindow extends Gtk.ApplicationWindow {
|
||||
}, class ExtensionsWindow extends Adw.ApplicationWindow {
|
||||
_init(params) {
|
||||
super._init(params);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user