diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-04-15 03:59:09 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-15 03:59:09 +0800 |
commit | 48a618c47c5af59c214b10b52a1afb24023cbcb7 (patch) | |
tree | 1afe99925a512e6c1f5f0e8499b6ff5b3cfa9626 /data | |
parent | 9e73b40c1c5d4c65933bf8affb40066196a45db9 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | data/epiphany.schemas.in | 2 | ||||
-rw-r--r-- | data/starthere/index.xml.in | 6 | ||||
-rw-r--r-- | data/starthere/section.xsl | 3 | ||||
-rw-r--r-- | data/starthere/smartbookmarks.xml.in | 6 |
4 files changed, 9 insertions, 8 deletions
diff --git a/data/epiphany.schemas.in b/data/epiphany.schemas.in index c19b400f4..6e2d1fb19 100644 --- a/data/epiphany.schemas.in +++ b/data/epiphany.schemas.in @@ -5,7 +5,7 @@ <applyto>/apps/epiphany/general/start_page</applyto> <owner>epiphany</owner> <type>string</type> - <default>start-here:</default> + <default>home:</default> <locale name="C"> <short>Home page</short> <long>URL for the user's home page. Displayed on start up 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> |