Commit graph

220 commits

Author SHA1 Message Date
Michael Catanzaro
69b49c53a0 Fix installation of hi-res icon 2015-05-29 12:52:55 -05:00
Jakub Steiner
3b54bf4c72 icon: provice a symbolic variant of the app icon
since 3.16 used for the recolorable high contrast theme

https://bugzilla.gnome.org/show_bug.cgi?id=747025
2015-04-30 10:52:38 -05:00
Johan Manuel
ba128dd084 Add option to alternate between black and white
Add the option 'Alternate' in 'Play as' in the preferences menu.
When selected, the player will play as the opposite color he played the
last time when starting a new game.

https://bugzilla.gnome.org/show_bug.cgi?id=747411
2015-04-15 10:58:27 +05:30
Sahil Sareen
ee25edc1f1 Remove unused gschema variables
https://bugzilla.gnome.org/show_bug.cgi?id=745149
2015-02-26 18:20:45 +05:30
Arnaud Bonatti
ec662df5e7 Use GResource. 2015-02-25 21:41:15 +01:00
Arnaud Bonatti
911113cde8 Do not hammer dconf on resize. 2015-02-25 19:26:09 +01:00
Michael Catanzaro
16095b0555 Fix several untranslatable strings on the preferences dialog
https://bugzilla.gnome.org/show_bug.cgi?id=745130
2015-02-25 10:19:09 +05:30
Sahil Sareen
d00db10c10 Add support for Fischer and Bronstein clocks
* Preferences dialog: Added option for clock type
* Clock Library: Support for these clocks
* Gnome-Chess: Handle fischer/bronstein clocks

https://bugzilla.gnome.org/show_bug.cgi?id=473395
2015-02-16 09:45:50 +05:30
Sahil Sareen
b8e6d10b2b Code alignment fix
Minor code alignment fix in preferences.ui
2015-01-31 20:41:21 +05:30
Sahil Sareen
72054b7273 Set a limit on the max amount of time per game
Setting a limit on hours to 10 and minutes to 600 in
custom game duration in preferences.

https://bugzilla.gnome.org/show_bug.cgi?id=726953
2014-12-16 18:08:06 -06:00
Michael Catanzaro
cc1927dd99 Switch from appdata-tools to appdata-utils 2014-11-24 18:26:40 -06:00
Iulian Radu
24f7e003fd Replace deprecated properties to fix warning
https://bugzilla.gnome.org/show_bug.cgi?id=737045
2014-09-21 18:53:07 -05:00
Michael Catanzaro
6a68068574 appdata: update screenshot size 2014-09-20 13:10:25 -05:00
Michael Catanzaro
bfa69e73fa Revert "build: use standard appdata rules"
This reverts commit 8ff0fcf077.
2014-08-18 18:52:12 -05:00
Michael Catanzaro
8ff0fcf077 build: use standard appdata rules 2014-08-17 20:28:33 -05:00
Michael Catanzaro
bac04328c1 Distribute HighContrast icon
Moved from gnome-themes-standard
2014-08-17 15:30:24 -05:00
Michael Catanzaro
83a1d1bc0c Improve time control handling
Set the game's time limit, not a duration, so that selecting one hour
gives each player a time limit of one hour (rather than 30 minutes).

This also fixes our interpretation of the TimeControl field.
2014-07-06 14:42:15 -05:00
Michael Catanzaro
bed6ad0e64 preferences: fix size of piece style combo
Easy to see what's wrong now that things are in the right position
2014-07-06 13:44:28 -05:00
Michael Catanzaro
f09cb157f4 Move widgets around in preferences.ui
Don't change the dialog at all, just move these to more sane positions
within the file.
2014-07-06 13:42:46 -05:00
Michael Catanzaro
434687157d fixup: remove 3D assets
https://bugzilla.gnome.org/show_bug.cgi?id=720284
2014-07-06 11:56:27 -05:00
Michael Catanzaro
ae35e97062 fixup: remove 3D-mode gsettings keys
https://bugzilla.gnome.org/show_bug.cgi?id=720284
2014-07-06 11:53:12 -05:00
Michael Catanzaro
c4d9ba7c53 Remove 3D mode
https://mail.gnome.org/archives/games-list/2014-June/msg00006.html

https://bugzilla.gnome.org/show_bug.cgi?id=720284
2014-07-06 11:48:46 -05:00
Michael Catanzaro
17bd099798 promotion dialog: use header bar 2014-07-04 22:14:58 -05:00
Michael Catanzaro
cb0600a8d3 preferences: do not use deprecated GtkAlignment 2014-06-25 01:41:35 -05:00
Michael Catanzaro
3cc715d197 Fix preferences dialog layout with recent GTK+ 2014-06-25 01:29:21 -05:00
Michael Catanzaro
dbcf503ee3 Rename gschema file
It's a little mean to reset users' settings, but I dislike the current
redundant name more strongly than I probably should. And only a little.

Also, fix i18n of the gschema
2014-06-24 21:32:22 -05:00
Michael Catanzaro
998150dddf Remove references to a "2D/3D chess game"
Might not be 3D for much longer, and 3D is no longer an awesome feature
so there's no point in advertising it.
2014-06-24 21:06:43 -05:00
Michael Catanzaro
530ffa05e5 Rely on RTL icon theme support 2014-06-05 10:29:34 -05:00
Michael Catanzaro
788ea1ff2c appdata: fix spelling of metadata_license tag 2014-05-20 20:53:27 -05:00
Michael Catanzaro
3bff070918 appdata: update license fields 2014-05-09 20:16:39 -05:00
Michael Catanzaro
021f3ec246 Fix another translator comment 2014-04-09 19:30:31 -05:00
Michael Catanzaro
00f7df8abc Preferences: add missing mnemonics 2014-04-09 19:29:43 -05:00
Michael Catanzaro
a9fca365a9 Fix translator comment in preferences dialog 2014-04-09 08:40:31 -05:00
Michael Catanzaro
d0de4734c1 Add access key for new game button 2014-04-09 08:36:35 -05:00
Michael Catanzaro
03ea5ed4e5 Fixup: remove gear menu button from size group
This button no longer exists and is causing a warning
2014-04-09 08:36:13 -05:00
Michael Catanzaro
d057b32952 Add a resign button
https://bugzilla.gnome.org/show_bug.cgi?id=727345
2014-04-08 21:53:30 -05:00
Michael Catanzaro
31365e4617 Switch to a Save As button
The standard Save is still available with Ctrl+S

https://bugzilla.gnome.org/show_bug.cgi?id=727345
2014-04-08 21:53:30 -05:00
Michael Catanzaro
29556c95d5 Remove the gear menu
https://bugzilla.gnome.org/show_bug.cgi?id=727345
2014-04-08 21:53:30 -05:00
Michael Catanzaro
dfb23c124e Remove the Claim Draw menu item
Instead, we should prompt the player when he has the option of claiming
a draw. This will come in the next commit.

https://bugzilla.gnome.org/show_bug.cgi?id=727345
2014-04-08 21:53:29 -05:00
Michael Catanzaro
d567309442 Require GTK+ 3.12
We forgot to bump the GTK+ requirement when using GtkDialog's new
use_header_bar property.

https://bugzilla.gnome.org/show_bug.cgi?id=727720
2014-04-06 17:40:41 -05:00
Yosef Or Boczko
621308e1b8 Use headerbar in the preferences dialog
https://bugzilla.gnome.org/show_bug.cgi?id=727056
2014-03-26 08:43:01 -05:00
Michael Catanzaro
4812c81815 Partially revert "remove unnecessary size groups"
The header bar size group was actually important: it was keeping the New
Game button at the proper height. And since it wasn't causing any
problems, let's just put it back.

https://bugzilla.gnome.org/show_bug.cgi?id=726951
2014-03-24 19:48:06 -05:00
Michael Catanzaro
6d4e61c79a Compute the width of the time labels at runtime
Set the time labels to be a little bit wider than the widest they might
ever be, so they never resize.

This assumes that each player will be limited to at most 999 minutes,
which currently is not the case, but will be soon.

https://bugzilla.gnome.org/show_bug.cgi?id=726955
2014-03-24 09:48:05 -05:00
Michael Catanzaro
53fdcacd19 ui: remove unnecessary size groups
The horizontal size group is exacerbating the horrible resizing
behavior as the clock ticks down. It's not the size group's fault that
this is broken, but the size group makes it 1634435x worse.

The vertical size group is simply unnecessary in 3.12. In 3.10 it is
needed for the header bar buttons to have the same height, but forces
the buttons into odd (non-square) shapes. Let's just remove it.

https://bugzilla.gnome.org/show_bug.cgi?id=726951
2014-03-24 09:46:51 -05:00
Michael Catanzaro
c659a94082 appdata: update screenshot size 2014-03-05 20:09:23 -06:00
Yosef Or Boczko
cd9c80bae9 Pack the header bar buttons in a vertical size group
https://bugzilla.gnome.org/show_bug.cgi?id=724530
2014-02-18 12:28:06 +02:00
Michael Catanzaro
d96bd1e2aa Use a button for pause/resume 2014-02-16 16:38:16 -06:00
Michael Catanzaro
3bc8f09d1d Revert "Swap Pause/Resume menu label as appropriate"
This reverts commit af1d76a4dc.

Let's use a button for Pause instead.
2014-02-16 15:48:36 -06:00
Michael Catanzaro
5acf31a13e Add a delay before the computer moves
Slowing down the game makes it less overwhelming.
2014-02-16 15:15:22 -06:00
Michael Catanzaro
1ae54858fb Correctly spell "GNU Chess" 2014-02-16 15:15:22 -06:00