[telegnome] Change default channel to Ceefax
- From: Colin Watson <cjwatson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [telegnome] Change default channel to Ceefax
- Date: Mon, 18 Jan 2016 13:52:02 +0000 (UTC)
commit 795f13dfc0f0580cd187a11518f70f0e085b761b
Author: Colin Watson <cjwatson debian org>
Date: Mon Jan 18 13:51:34 2016 +0000
Change default channel to Ceefax
* src/gui.c (tg_gui_load_channels_from_config): Change default
channel to Ceefax, since NOS no longer seems to publish pages in
image format.
ChangeLog | 6 ++++++
src/gui.c | 8 ++++----
2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a56232d..a08a5be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2016-01-18 Colin Watson <cjwatson debian org>
+ * src/gui.c (tg_gui_load_channels_from_config): Change default
+ channel to Ceefax, since NOS no longer seems to publish pages in
+ image format.
+
+2016-01-18 Colin Watson <cjwatson debian org>
+
* src/prefs.h (DEFAULT_SUB_PAGE_URL, DEFAULT_PAGE_URL): Remove
unused definitions.
diff --git a/src/gui.c b/src/gui.c
index d444e6d..d25f704 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -221,10 +221,10 @@ tg_gui_load_channels_from_config(void)
/* nothing set up yet, fill in some default */
count = 1;
channel = tg_channel_new(
- 0, "NOS Teletext", "The Dutch teletext pages",
- "http://teletekst.nos.nl/cgi-bin/tt/nos/gif/%d/",
- "http://teletekst.nos.nl/cgi-bin/tt/nos/gif/%d-%d",
- "nl");
+ 0, "Ceefax, United Kingdom", "UK teletext (BBC)",
+ "http://www.ceefax.tv/cgi-bin/gfx.cgi?page=%03d_0&font=big&channel=bbc1",
+ "http://www.ceefax.tv/cgi-bin/gfx.cgi?page=%03d_%d&font=big&channel=bbc1",
+ "gb");
gui.channels = g_slist_append(gui.channels, (gpointer)channel);
/* ...and save it to the config */
gnome_config_set_int("/telegnome/Channels/count", 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]