Commit graph

190 commits

Author SHA1 Message Date
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
Michael Catanzaro
0f0cec8a29 Switch GNU Chess to UCI mode
Guess wildly at reasonable difficulty settings.
2014-02-16 15:15:22 -06:00
Michael Catanzaro
93245a9cd8 Revert "Remove extra space between White and Black timers"
This reverts commit 73bf554d6b.

This exacerbates our issues with the resizing nav bar items
2014-02-16 10:03:07 -06:00
Michael Catanzaro
c5ec184612 Add some margin to the nav box 2014-02-16 10:03:07 -06:00
Michael Catanzaro
308b71725a Put buttons for common actions into the header bar 2014-02-16 10:03:07 -06:00
Michael Catanzaro
958aecb2a7 Update man page 2014-02-15 20:21:07 -06:00
Michael Catanzaro
f58e1b230f appdata: specify project_group 2014-02-09 12:26:29 -06:00
Michael Catanzaro
7d55d4c513 Look for AI profiles in two different locations
We'll now search for AI profiles in:

* ~/.config/gnome-chess/engines.conf (first)
* /etc/gnome-chess/engines.conf

I'm torn as to whether to continue reading /etc/chess-engines.conf. I
think it'd be best to ignore it -- if users modified it manually to add
an engine, they will notice that the engine has disappeared. They're not
likely to notice that they're not getting the important GNUChess
improvements I'm hoping to land soon....
2014-02-07 19:56:13 -06:00
Michael Catanzaro
6aa7882d69 Fix oversight in appdata file 2014-02-05 15:35:39 -06:00
Michael Catanzaro
07854cd113 Rename desktop file so we appear in GNOME Software 2014-02-05 14:54:21 -06:00
Michael Catanzaro
436f0522ba Fix whitespace in the UI file 2014-02-04 12:41:07 -06:00
Michael Catanzaro
c6b3fa5610 Remove stock items from the preferences dialog
Also, switch to a symbolic icon for the light bulb.
2014-01-11 16:01:27 -06:00
Michael Catanzaro
73bf554d6b Remove extra space between White and Black timers 2014-01-07 11:00:41 -06:00
Yosef Or Boczko
efffb0b171 Add the "linked" style to the navigation buttons
https://bugzilla.gnome.org/show_bug.cgi?id=721692
2014-01-07 10:55:24 -06:00
Yosef Or Boczko
03fd2ee281 Use symbolic icons in the buttom bar 2014-01-07 18:08:22 +02:00
Michael Catanzaro
af1d76a4dc Swap Pause/Resume menu label as appropriate
Unfortunately, this requires dynamically generating the menu. I'm not
very impressed with the GMenu API compared to the rest of GLib....
2014-01-06 17:09:50 -06:00
Michael Catanzaro
0acfb00a96 Replace the toolbar with a gear menu 2014-01-06 17:09:50 -06:00
Michael Catanzaro
29dbf32397 Remove fullscreen mode 2014-01-06 17:09:50 -06:00
Michael Catanzaro
21eb3a7dc4 Use a GtkHeaderBar 2014-01-06 17:09:50 -06:00
Volker Sobek
7f257c725d UI: Remove deprecated GtkVBox, GtkHBox
Use GtkBox instead.

https://bugzilla.gnome.org/show_bug.cgi?id=720497
2013-12-15 12:17:02 -06:00
Jakub Steiner
565a3c9de8 app icon: updated icon with highres variant
https://bugzilla.gnome.org/show_bug.cgi?id=719562
2013-12-02 17:31:55 -06:00
Michael Catanzaro
d88feca5df Revert "app icon: updated icon with highres variant"
This reverts commit b6d96037be.
2013-11-30 09:12:53 -06:00
Jakub Steiner
b6d96037be app icon: updated icon with highres variant
https://bugzilla.gnome.org/show_bug.cgi?id=719562
2013-11-29 19:52:46 -06:00
Volker Sobek
73d361535c gnome-chess.ui: Fix image in first_move_button
This button's image was set to menu size, not button size, which
caused it to be smaller than the ones in the other navigation buttons.

https://bugzilla.gnome.org/show_bug.cgi?id=712160
2013-11-12 11:11:32 -06:00
Michael Catanzaro
731e776fd0 Revert "Fix check for appdata- and desktop-file-validate"
This reverts commit 95fb81ca02.
2013-11-05 19:26:37 -06:00
Michael Catanzaro
e78f1433aa Add GTK category to desktop file
Thanks, desktop-file-validate...
2013-10-31 21:46:36 -05:00
Michael Catanzaro
95fb81ca02 Fix check for appdata- and desktop-file-validate
If these programs are not installed, do not try to use them. They're
certainly nice for catching errors, but a developer who wants to use
these tools will surely have them installed.
2013-10-31 21:45:03 -05:00
Michael Catanzaro
25c4fad9a5 appdata: the screenshot is now bigger 2013-10-19 21:38:30 -05:00
Michael Catanzaro
47336bfee3 update screenshot for new appdata-validate 2013-10-19 21:24:31 -05:00
Michael Catanzaro
c506b11e6c Revert "Make Appdata file translatable"
This reverts commit ce649b9c15.

Whoops, did not intend to push this.  Appdata is already translatable.
2013-10-05 09:15:22 -05:00
Michael Catanzaro
790eda8d6e appdata: add copyright line 2013-10-04 19:36:23 -05:00