Rename engines.conf to chess-engines.conf

This is sensible now that the file is installed directly in /etc; it
otherwise would not be clear from the filename what its purpose is.
This commit is contained in:
Michael Catanzaro 2013-08-14 08:18:34 -05:00
parent a73bee1895
commit ed632cba3f
3 changed files with 4 additions and 2 deletions

View file

@ -16,7 +16,7 @@ gsettings_SCHEMAS = org.gnome.gnome-chess.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
dist_sysconf_DATA = engines.conf
dist_sysconf_DATA = chess-engines.conf
dist_man_MANS = gnome-chess.6

View file

@ -1,3 +1,5 @@
# GNOME Chess will detect any engines listed here
[Amundsen]
protocol=cecp
binary=amundsen

View file

@ -196,7 +196,7 @@ public class Application : Gtk.Application
settings.changed.connect (settings_changed_cb);
settings_changed_cb (settings, "show-3d");
ai_profiles = AIProfile.load_ai_profiles (Path.build_filename (SYSCONFDIR, "engines.conf", null));
ai_profiles = AIProfile.load_ai_profiles (Path.build_filename (SYSCONFDIR, "chess-engines.conf", null));
foreach (var profile in ai_profiles)
message ("Detected AI profile %s in %s", profile.name, profile.path);