[gnome-nibbles/arnaudb/wip/gtk4: 23/40] UI fixes.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles/arnaudb/wip/gtk4: 23/40] UI fixes.
- Date: Tue, 16 Jun 2020 16:33:55 +0000 (UTC)
commit c320304e19e676ae6ba52502f4642866ffd8b322
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Jun 15 19:25:58 2020 +0200
UI fixes.
data/controls.ui | 1 -
data/nibbles.ui | 5 ++---
data/players.ui | 1 -
data/speed.ui | 6 +-----
4 files changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/data/controls.ui b/data/controls.ui
index 72d0915..10f1f7e 100644
--- a/data/controls.ui
+++ b/data/controls.ui
@@ -49,7 +49,6 @@
</child>
<child>
<object class="GtkButton">
- <property name="can-default">True</property>
<property name="use-underline">True</property>
<!-- Translators: label of a button in the last panel displayed during game configuration (the
"Controls" one); starts the game -->
<property name="label" translatable="yes">_Start</property>
diff --git a/data/nibbles.ui b/data/nibbles.ui
index fdfa1bc..d3edbca 100644
--- a/data/nibbles.ui
+++ b/data/nibbles.ui
@@ -53,8 +53,6 @@
<property name="title" translatable="yes">Nibbles</property>
<child type="titlebar">
<object class="GtkHeaderBar" id="headerbar">
- <!-- Translators: title of the window, as displayed in the headerbar -->
- <property name="title" translatable="yes">Nibbles</property>
<property name="show-title-buttons">True</property>
<child type="start">
<object class="GtkButton" id="new_game_button">
@@ -84,7 +82,8 @@
</child>
<child>
<object class="GtkStack" id="main_stack">
- <property name="homogeneous">True</property>
+ <property name="hhomogeneous">True</property>
+ <property name="vhomogeneous">True</property>
<property name="margin-start">25</property>
<property name="margin-end">25</property>
<property name="margin-top">25</property>
diff --git a/data/players.ui b/data/players.ui
index 5b02567..b5cc66c 100644
--- a/data/players.ui
+++ b/data/players.ui
@@ -173,7 +173,6 @@
</child>
<child>
<object class="GtkButton">
- <property name="can-default">True</property>
<property name="use-underline">True</property>
<!-- Translators: label of a button in the "Number of players" panel displayed during game
configuration (with a mnemonic that appears when pressing Alt); switch to next panel -->
<property name="label" translatable="yes">_Next</property>
diff --git a/data/speed.ui b/data/speed.ui
index f3a6fb9..8734225 100644
--- a/data/speed.ui
+++ b/data/speed.ui
@@ -47,7 +47,6 @@
<object class="GtkToggleButton" id="speed4">
<property name="hexpand">True</property>
<property name="halign">fill</property>
- <property name="xalign">0.0</property>
<property name="use-underline">True</property>
<!-- Translators: title of a radiobutton in the "Preferences" panel displayed during game
configuration (with a mnemonic that appears when pressing Alt); sets worms speed to "really slow" -->
<property name="label" translatable="yes">_Beginner</property>
@@ -63,7 +62,6 @@
<object class="GtkToggleButton" id="speed3">
<property name="hexpand">True</property>
<property name="halign">fill</property>
- <property name="xalign">0.0</property>
<property name="use-underline">True</property>
<!-- Translators: title of a radiobutton in the "Preferences" panel displayed during game
configuration (with a mnemonic that appears when pressing Alt); sets worms speed to "quite slow" -->
<property name="label" translatable="yes">_Slow</property>
@@ -79,7 +77,6 @@
<object class="GtkToggleButton" id="speed2">
<property name="hexpand">True</property>
<property name="halign">fill</property>
- <property name="xalign">0.0</property>
<property name="use-underline">True</property>
<!-- Translators: title of a radiobutton in the "Preferences" panel displayed during game
configuration (with a mnemonic that appears when pressing Alt); sets worms speed to "normal" -->
<property name="label" translatable="yes">_Medium</property>
@@ -95,7 +92,6 @@
<object class="GtkToggleButton" id="speed1">
<property name="hexpand">True</property>
<property name="halign">fill</property>
- <property name="xalign">0.0</property>
<property name="use-underline">True</property>
<!-- Translators: title of a radiobutton in the "Preferences" panel displayed during game
configuration (with a mnemonic that appears when pressing Alt); sets worms speed to "fast" -->
<property name="label" translatable="yes">_Fast</property>
@@ -121,7 +117,7 @@
<property name="halign">fill</property>
<property name="use-underline">True</property>
<!-- Translators: label of a togglebutton in the "Preferences" panel displayed during game
configuration (with a mnemonic that appears when pressing Alt); activates special bonuses -->
- <property name="text" translatable="yes">_Enable fake bonuses</property>
+ <property name="label" translatable="yes">_Enable fake bonuses</property>
<property name="action-name">win.fakes</property>
<style>
<class name="speed-box"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]