[gnome-nibbles/arnaudb/wip/gtk4: 17/40] Adapt to GtkBox API (part 2).
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles/arnaudb/wip/gtk4: 17/40] Adapt to GtkBox API (part 2).
- Date: Tue, 16 Jun 2020 16:33:24 +0000 (UTC)
commit c213a5dc28945c7641ef2f405a65e39cbfbb41d2
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun May 31 00:08:44 2020 +0200
Adapt to GtkBox API (part 2).
src/scoreboard.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/scoreboard.vala b/src/scoreboard.vala
index 7c6b13d..e6bc780 100644
--- a/src/scoreboard.vala
+++ b/src/scoreboard.vala
@@ -31,7 +31,7 @@ private class Scoreboard : Box
/* Translators: text displayed under the game view, presenting the number of remaining lives; the %d
is replaced by the number that identifies the player */
var box = new PlayerScoreBox (_("Player %d").printf (worm.id + 1), color, worm.score, worm.lives,
life_pixbuf); // FIXME: Consider changing this to "Worm %d"; It's set to "Player %d" for now to avoid a
string change for 3.20.
boxes.@set (box, worm);
- add (box);
+ box.insert_before (this, /* insert last */ null);
}
internal void update ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]