main: Adapt to GtkHeaderBar API changes
This commit is contained in:
parent
dc1f68c7bc
commit
6fc250d5cf
|
@ -9,11 +9,15 @@
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwHeaderBar" id="header">
|
<object class="GtkHeaderBar" id="header">
|
||||||
<property name="show-close-button">True</property>
|
<property name="show-title-buttons">True</property>
|
||||||
|
<property name="title-widget">
|
||||||
|
<object class="AdwWindowTitle">
|
||||||
<!-- Translators: This is the title of the main window -->
|
<!-- Translators: This is the title of the main window -->
|
||||||
<property name="title" translatable="yes">Parental Controls</property>
|
<property name="title" translatable="yes">Parental Controls</property>
|
||||||
<child>
|
</object>
|
||||||
|
</property>
|
||||||
|
<child type="end">
|
||||||
<object class="GtkMenuButton" id="primary_menu">
|
<object class="GtkMenuButton" id="primary_menu">
|
||||||
<property name="direction">none</property>
|
<property name="direction">none</property>
|
||||||
<property name="use-popover">True</property>
|
<property name="use-popover">True</property>
|
||||||
|
@ -23,9 +27,6 @@
|
||||||
<class name="image-button"/>
|
<class name="image-button"/>
|
||||||
</style>
|
</style>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
|
||||||
<property name="pack-type">end</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
Loading…
Reference in New Issue