aboutsummaryrefslogtreecommitdiffstats
path: root/data/starthere
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-04-15 03:59:09 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-04-15 03:59:09 +0800
commit48a618c47c5af59c214b10b52a1afb24023cbcb7 (patch)
tree1afe99925a512e6c1f5f0e8499b6ff5b3cfa9626 /data/starthere
parent9e73b40c1c5d4c65933bf8affb40066196a45db9 (diff)
downloadgsoc2013-epiphany-48a618c47c5af59c214b10b52a1afb24023cbcb7.tar
gsoc2013-epiphany-48a618c47c5af59c214b10b52a1afb24023cbcb7.tar.gz
gsoc2013-epiphany-48a618c47c5af59c214b10b52a1afb24023cbcb7.tar.bz2
gsoc2013-epiphany-48a618c47c5af59c214b10b52a1afb24023cbcb7.tar.lz
gsoc2013-epiphany-48a618c47c5af59c214b10b52a1afb24023cbcb7.tar.xz
gsoc2013-epiphany-48a618c47c5af59c214b10b52a1afb24023cbcb7.tar.zst
gsoc2013-epiphany-48a618c47c5af59c214b10b52a1afb24023cbcb7.zip
Use home:, have titles.
2003-04-14 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * data/starthere/index.xml.in: * data/starthere/section.xsl: * data/starthere/smartbookmarks.xml.in: * embed/mozilla/StartHereProtocolHandler.cpp: * embed/mozilla/StartHereProtocolHandler.h: Use home:, have titles. * lib/ephy-node.c: (ephy_node_get_from_id): Do not assert on 0 id. It's valid.
Diffstat (limited to 'data/starthere')
-rw-r--r--data/starthere/index.xml.in6
-rw-r--r--data/starthere/section.xsl3
-rw-r--r--data/starthere/smartbookmarks.xml.in6
3 files changed, 8 insertions, 7 deletions
diff --git a/data/starthere/index.xml.in b/data/starthere/index.xml.in
index bce23e123..22b1588ed 100644
--- a/data/starthere/index.xml.in
+++ b/data/starthere/index.xml.in
@@ -1,9 +1,9 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="section.xsl"?>
-<section>
+<section name="Home">
<bar>
-<item section="start-here:">Start Here</item>
-<item section="start-here:smartbookmarks">Smart Bookmarks</item>
+<item section="home:">Home</item>
+<item section="home:smartbookmarks">Smart Bookmarks</item>
</bar>
<_title>The web browser</_title>
<_paragraph>
diff --git a/data/starthere/section.xsl b/data/starthere/section.xsl
index b7c6377ee..eb552e0aa 100644
--- a/data/starthere/section.xsl
+++ b/data/starthere/section.xsl
@@ -10,6 +10,7 @@
<xsl:template match="section">
<html>
<head>
+ <title><xsl:value-of select="@name"/></title>
<style type="text/css">
body {
margin-left: 150;
@@ -93,7 +94,7 @@
</xsl:template>
<xsl:template match="action">
-<a href="start-here:{@id}?{@param}">
+<a href="home:{@id}?{@param}">
<xsl:apply-templates/>
</a><br/>
</xsl:template>
diff --git a/data/starthere/smartbookmarks.xml.in b/data/starthere/smartbookmarks.xml.in
index 3362efd65..be6fbc5d3 100644
--- a/data/starthere/smartbookmarks.xml.in
+++ b/data/starthere/smartbookmarks.xml.in
@@ -1,9 +1,9 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="section.xsl"?>
-<section>
+<section name="Smart Bookmarks">
<bar>
-<item section="start-here:">Start Here</item>
-<item section="start-here:smartbookmarks">Smart Bookmarks</item>
+<item section="home:">Home</item>
+<item section="home:smartbookmarks">Smart Bookmarks</item>
</bar>
<content>
<_title>Smart Bookmarks</_title>