Commit graph

180 commits

Author SHA1 Message Date
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
Daniel Mustieles
ce649b9c15 Make Appdata file translatable
https://bugzilla.gnome.org/show_bug.cgi?id=709259
2013-10-02 08:24:45 -05:00
Piotr Drąg
bf9861141c Mark GenericName in the .desktop file as translatable
Also a minor fix in the description.
2013-09-27 00:05:43 +02:00
Michael Catanzaro
026f5d664a Remove the .desktop.in.in and BugBuddy info 2013-09-26 09:38:59 -05:00
Michael Catanzaro
76df48e4fe Add desktop-file-validate to 'make check' 2013-09-26 09:38:59 -05:00
Michael Catanzaro
6ee65f3227 Add appdata-validate to 'make check' 2013-09-26 09:38:59 -05:00
Michael Catanzaro
d2d2dfb3ce appdata: mark for translation 2013-09-26 09:38:59 -05:00
Michael Catanzaro
b39d71625c appdata: move screenshot to safer location 2013-09-26 09:38:59 -05:00
Michael Catanzaro
2ecd3b3fb3 Add an appdata file 2013-09-13 22:23:22 -05:00
Michael Catanzaro
2f9ee8265f Rely on intltool gsettings support 2013-09-12 21:51:08 -05:00
Michael Catanzaro
a55926a7d1 Reorder items on the preferences dialog a bit
It looks a bit odd now that a couple of things have been removed
2013-08-18 22:10:51 -05:00