extensions-app: Set title on window instead of headerbar
GTK4 will remove the GtkHeaderBar:title property, so stop using it and set the window's title property instead, as that's what headbars use in both GTK3 and GTK4 unless explicitly overridden. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>
This commit is contained in:
parent
c9c7629753
commit
20a68a609c
@ -55,10 +55,10 @@
|
|||||||
<template class="ExtensionsWindow" parent="GtkApplicationWindow">
|
<template class="ExtensionsWindow" parent="GtkApplicationWindow">
|
||||||
<property name="default_width">800</property>
|
<property name="default_width">800</property>
|
||||||
<property name="default_height">500</property>
|
<property name="default_height">500</property>
|
||||||
|
<property name="title" translatable="yes">Extensions</property>
|
||||||
<child type="titlebar">
|
<child type="titlebar">
|
||||||
<object class="GtkHeaderBar">
|
<object class="GtkHeaderBar">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="title" translatable="yes">Extensions</property>
|
|
||||||
<property name="show_close_button">True</property>
|
<property name="show_close_button">True</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkMenuButton">
|
<object class="GtkMenuButton">
|
||||||
|
Loading…
Reference in New Issue
Block a user