[gnome-2048/arnaudb/wip/gtk4: 42/57] Adapt to HeaderBar API.




commit 15b8a26c2cdd64f9cb49b09e67372bf6bcaded93
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 e7a997c..bfdc6d7 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 03562b5..36b45bf 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]