[gnome-klotski] Invert headerbar buttons.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski] Invert headerbar buttons.
- Date: Wed, 6 May 2020 16:35:19 +0000 (UTC)
commit a0c668e5d7b081a08f9a8f3fbbd18432f3630ef8
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed May 6 06:57:48 2020 +0200
Invert headerbar buttons.
data/klotski.ui | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
---
diff --git a/data/klotski.ui b/data/klotski.ui
index 0631d83..763670d 100644
--- a/data/klotski.ui
+++ b/data/klotski.ui
@@ -322,35 +322,32 @@
<property name="show-close-button">True</property>
<property name="title" translatable="yes">Klotski</property>
<child>
- <object class="GtkButton">
+ <object class="GtkMenuButton">
<property name="visible">True</property>
<property name="valign">center</property>
<property name="use-underline">True</property>
- <!-- Translators: in the headerbar, button that allows to directly restart the current puzzle
(with a mnemonic that appears pressing Alt) -->
- <property name="label" translatable="yes">_Start Over</property>
+ <!-- Translators: in the headerbar, button that allows via a popover to select a different
puzzle (with a mnemonic that appears pressing Alt) -->
+ <property name="label" translatable="yes">_Change Puzzle</property>
<property name="can-focus">True</property>
<property name="focus-on-click">False</property>
- <!-- Translators: tooltip text of the Start Over button, in the headerbar -->
- <property name="tooltip-text" translatable="yes">Restart the current puzzle</property>
- <property name="action-name">win.start-game</property>
+ <!-- Translators: tooltip text of the Change Puzzle menubutton, in the headerbar -->
+ <property name="tooltip-text" translatable="yes">Choose an other puzzle</property>
+ <property name="direction">down</property>
+ <property name="popover">puzzles_popover</property>
</object>
- <packing>
- <property name="pack-type">start</property>
- </packing>
</child>
<child>
- <object class="GtkMenuButton">
+ <object class="GtkButton">
<property name="visible">True</property>
<property name="valign">center</property>
<property name="use-underline">True</property>
- <!-- Translators: in the headerbar, button that allows via a popover to select a different
puzzle (with a mnemonic that appears pressing Alt) -->
- <property name="label" translatable="yes">_Change Puzzle</property>
+ <!-- Translators: in the headerbar, button that allows to directly restart the current puzzle
(with a mnemonic that appears pressing Alt) -->
+ <property name="label" translatable="yes">_Start Over</property>
<property name="can-focus">True</property>
<property name="focus-on-click">False</property>
- <!-- Translators: tooltip text of the Change Puzzle menubutton, in the headerbar -->
- <property name="tooltip-text" translatable="yes">Choose an other puzzle</property>
- <property name="direction">down</property>
- <property name="popover">puzzles_popover</property>
+ <!-- Translators: tooltip text of the Start Over button, in the headerbar -->
+ <property name="tooltip-text" translatable="yes">Restart the current puzzle</property>
+ <property name="action-name">win.start-game</property>
</object>
<packing>
<property name="pack-type">end</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]