[gnome-2048/arnaudb/wip/gtk4: 28/30] Adapt to HeaderBar API.



commit b02fa81735b388e1ac2cdd7f844a06d8b6d14b32
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Jul 13 17:08:46 2020 +0200

    Adapt to HeaderBar API.

 data/game-headerbar.ui | 2 --
 data/mainwindow.ui     | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/game-headerbar.ui b/data/game-headerbar.ui
index 627cb1c..ef624a4 100644
--- a/data/game-headerbar.ui
+++ b/data/game-headerbar.ui
@@ -21,8 +21,6 @@
     <child>
       <object class="GtkHeaderBar" id="_headerbar">
         <property name="can-focus">False</property>
-        <!-- Translators: title of the window, displayed in the headerbar -->
-        <property name="title" translatable="yes">GNOME 2048</property>
         <property name="show-title-buttons">True</property>
         <child>
           <object class="GtkMenuButton" id="_new_game_button">
diff --git a/data/mainwindow.ui b/data/mainwindow.ui
index e3b7fe9..a428ed1 100644
--- a/data/mainwindow.ui
+++ b/data/mainwindow.ui
@@ -23,6 +23,8 @@
     <property name="default-height">600</property>
     <property name="icon-name">org.gnome.TwentyFortyEight</property>
     <property name="show-menubar">False</property>
+    <!-- Translators: title of the window, displayed in the headerbar -->
+    <property name="title" translatable="yes">GNOME 2048</property>
 <!--    <signal name="destroy" handler="on_destroy"/>-->
     <child type="titlebar">
       <object class="GameHeaderBar" id="_header_bar"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]