[lightsoff/arnaudb/wip/gtk4: 14/28] Comment for now focus thing.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lightsoff/arnaudb/wip/gtk4: 14/28] Comment for now focus thing.
- Date: Sat, 28 Nov 2020 14:29:47 +0000 (UTC)
commit 54ca0c6000dae022bcf52281956b6413fcb93cfd
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Nov 27 16:20:54 2020 +0100
Comment for now focus thing.
src/board-view-gtk.vala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/board-view-gtk.vala b/src/board-view-gtk.vala
index a408127..37c64b0 100644
--- a/src/board-view-gtk.vala
+++ b/src/board-view-gtk.vala
@@ -35,16 +35,16 @@ private class BoardViewGtk : Grid, BoardView
puzzle_generator = new PuzzleGenerator (size);
lights = new ToggleButton [size, size];
- List<Widget> focus_list = new List<Widget> ();
+// List<Widget> focus_list = new List<Widget> ();
for (var x = 0; x < size; x++)
for (var y = 0; y < size; y++)
{
lights[x, y] = new ToggleButton ();
lights[x, y].toggled.connect (handle_toggle);
attach (lights[x, y], x, y, 1, 1);
- focus_list.append (lights[x, y]);
+// focus_list.append (lights[x, y]);
}
- set_focus_chain (focus_list);
+// set_focus_chain (focus_list);
_moves = 0;
completed.connect (() => set_sensitive (false));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]