[gnome-2048/arnaudb/wip/gtk4: 36/48] Adapt to HeaderBar API.




commit 12899264053cf9d7abbdc17108f9be3b2d985e88
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 c98ebb1..1e8dd37 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]