[gnome-nibbles/arnaudb/wip/gtk4: 41/62] Fixes.



commit a76c9c0c9c5b50de3ff6854071b7e86fc7408036
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Jun 15 19:30:15 2020 +0200

    Fixes.

 data/ui/nibbles.ui | 1 -
 data/ui/speed.ui   | 1 -
 src/speed.vala     | 2 +-
 3 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/data/ui/nibbles.ui b/data/ui/nibbles.ui
index 4bbcfeb..afc2fee 100644
--- a/data/ui/nibbles.ui
+++ b/data/ui/nibbles.ui
@@ -124,7 +124,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/ui/speed.ui b/data/ui/speed.ui
index 8734225..52e4123 100644
--- a/data/ui/speed.ui
+++ b/data/ui/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]