[gnome-shell/wip/fmuellner/gtk4: 30/44] extensions-app: Set title on window instead of headerbar
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/gtk4: 30/44] extensions-app: Set title on window instead of headerbar
- Date: Fri, 4 Dec 2020 03:42:44 +0000 (UTC)
commit 47f81bf6a2a2cab4c8af0420b81e6e2fa71b9276
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Apr 15 20:27:15 2020 +0200
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.
subprojects/extensions-app/data/ui/extensions-window.ui | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/subprojects/extensions-app/data/ui/extensions-window.ui
b/subprojects/extensions-app/data/ui/extensions-window.ui
index 1ae5bfc991..fa710d01e4 100644
--- a/subprojects/extensions-app/data/ui/extensions-window.ui
+++ b/subprojects/extensions-app/data/ui/extensions-window.ui
@@ -55,10 +55,10 @@
<template class="ExtensionsWindow" parent="GtkApplicationWindow">
<property name="default_width">800</property>
<property name="default_height">500</property>
+ <property name="title" translatable="yes">Extensions</property>
<child type="titlebar">
<object class="GtkHeaderBar">
<property name="visible">True</property>
- <property name="title" translatable="yes">Extensions</property>
<property name="show_close_button">True</property>
<child>
<object class="GtkMenuButton">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]