[gnome-nibbles/arnaudb/wip/gtk4: 27/62] Comment focus things.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles/arnaudb/wip/gtk4: 27/62] Comment focus things.
- Date: Fri, 19 Jun 2020 14:54:17 +0000 (UTC)
commit 4cafcac1e235d67fcd1a60f435bb830b967d78ec
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]