[gnome-nibbles/arnaudb/wip/gtk4: 10/40] Comment focus things.



commit 8ded3003f245777b6a3a07e176b3046d7ee4d361
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sat May 30 18:57:09 2020 +0200

    Comment focus things.

 src/nibbles-window.vala | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/nibbles-window.vala b/src/nibbles-window.vala
index 5705130..ad38428 100644
--- a/src/nibbles-window.vala
+++ b/src/nibbles-window.vala
@@ -796,7 +796,7 @@ private class NibblesWindow : ApplicationWindow
         button.valign = Align.END;
         button.set_margin_bottom (100);
         button.get_style_context ().add_class ("suggested-action");
-        button.set_can_default (true);
+//        button.set_can_default (true);
         button.clicked.connect (() => {
             label.destroy ();
             button.destroy ();
@@ -812,11 +812,11 @@ private class NibblesWindow : ApplicationWindow
         overlay.add_overlay (label);
         overlay.add_overlay (button);
 
-        overlay.grab_default ();
+//        overlay.grab_default ();
 
         Timeout.add (500, () => {
             button.show ();
-            button.grab_default ();
+//            button.grab_default ();
 
             return Source.REMOVE;
         });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]