Commit graph

9 commits

Author SHA1 Message Date
Michael Catanzaro
07a6086446 Use composite template to build promotion type selector
This also fixes a bug that I introduced with my GTK 4 porting: the
promotion type selector dialog would always display pieces in the color
of the first player to promote a piece, but it should always change
color to match the current player.

Note that I declared all the GtkChild widgets as unowned due to
vala#1121, which I discovered while working on this.
2020-12-24 15:14:47 -06:00
Michael Catanzaro
67a5d88e0d Port to GTK 4
I probably should have removed GtkDialog.run() use first, in a separate
commit, but I didn't and now it would be a lot of effort to split it
out. So here it is: one big GTK 4 megacommit.
2020-12-24 16:41:53 +00:00
Michael Catanzaro
8e01fb40ef Rework promotion type selector dialog to not use action area
Fixes #19
2020-12-04 16:51:13 -06:00
Arnaud Bonatti
cf1feeeace Clean a bit UI files. 2020-06-26 18:31:05 +00:00
Michael Catanzaro
17bd099798 promotion dialog: use header bar 2014-07-04 22:14:58 -05:00
Michael Catanzaro
b78ec087b3 Remove the label in the promotion type dialog
It actually doesn't need to exist at all

https://bugzilla.gnome.org/show_bug.cgi?id=703251
2013-06-29 10:16:43 -05:00
Michael Catanzaro
a12933c764 Remove paragraph-long tooltip about pawn promotion
This was not a good idea.
2013-06-29 10:04:12 -05:00
Piotr Drąg
338ad3ca40 Remove duplicate tooltip text
It makes translation easier, as one of the
duplicates differed with only one character.
2012-12-26 23:39:02 +01:00
Chandni Verma
7e16e130a1 Prompt user for selecting promotion type when the pawn reaches 8th rank
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=655761
2012-12-11 14:53:00 +13:00