[gnome-nibbles/arnaudb/wip/gtk4: 147/188] Comment focus things.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles/arnaudb/wip/gtk4: 147/188] Comment focus things.
- Date: Fri, 2 Oct 2020 15:55:21 +0000 (UTC)
commit 1861c9f20bac466f3086b9e69f89b02e58355496
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 61f3737..fe3fab8 100644
--- a/src/nibbles-window.vala
+++ b/src/nibbles-window.vala
@@ -892,7 +892,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 ();
@@ -908,11 +908,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]