[gnome-nibbles/arnaudb/wip/gtk4: 24/40] Fixes.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles/arnaudb/wip/gtk4: 24/40] Fixes.
- Date: Tue, 16 Jun 2020 16:34:00 +0000 (UTC)
commit c7436e83dd441231c4ac0e6f1757976a21d4734c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Jun 15 19:30:15 2020 +0200
Fixes.
data/nibbles.ui | 1 -
data/speed.ui | 1 -
src/speed.vala | 2 +-
3 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/data/nibbles.ui b/data/nibbles.ui
index d3edbca..84b599d 100644
--- a/data/nibbles.ui
+++ b/data/nibbles.ui
@@ -121,7 +121,6 @@
<property name="name">game_box</property>
<property name="child">
<object class="GtkOverlay" id="overlay">
- <property name="can-default">True</property>
<child>
<object class="GtkBox" id="game_box">
<property name="orientation">vertical</property>
diff --git a/data/speed.ui b/data/speed.ui
index 8734225..52e4123 100644
--- a/data/speed.ui
+++ b/data/speed.ui
@@ -130,7 +130,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 "Preferences" 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/src/speed.vala b/src/speed.vala
index 9dad527..af805af 100644
--- a/src/speed.vala
+++ b/src/speed.vala
@@ -24,7 +24,7 @@ private class Speed : Box
{
private SimpleAction speed_action;
- [GtkChild] private CheckButton fakes_button;
+ [GtkChild] private ToggleButton fakes_button;
private bool fakes;
private const GLib.ActionEntry [] players_action_entries =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]