aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-09-17 00:12:28 +0800
committerChristian Persch <chpe@src.gnome.org>2003-09-17 00:12:28 +0800
commitcae41a6e3e2392290adfec7e37e18f42224fb5f8 (patch)
treebec3f0dd5f65c7e276f454385a0f7d9f04a293b0 /src
parent87786db64e5037a597659b698b032d34e8e23ae3 (diff)
downloadgsoc2013-epiphany-cae41a6e3e2392290adfec7e37e18f42224fb5f8.tar
gsoc2013-epiphany-cae41a6e3e2392290adfec7e37e18f42224fb5f8.tar.gz
gsoc2013-epiphany-cae41a6e3e2392290adfec7e37e18f42224fb5f8.tar.bz2
gsoc2013-epiphany-cae41a6e3e2392290adfec7e37e18f42224fb5f8.tar.lz
gsoc2013-epiphany-cae41a6e3e2392290adfec7e37e18f42224fb5f8.tar.xz
gsoc2013-epiphany-cae41a6e3e2392290adfec7e37e18f42224fb5f8.tar.zst
gsoc2013-epiphany-cae41a6e3e2392290adfec7e37e18f42224fb5f8.zip
Really use the translated names of the default topics and bookmarks when
2003-09-16 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults): Really use the translated names of the default topics and bookmarks when creating them.
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmarks.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 978561e01..bf1d575d2 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -66,7 +66,6 @@ typedef struct
{
const char *title;
const char *location;
- const char *smart_url;
} EphyBookmarksBookmarkInfo;
static const EphyBookmarksBookmarkInfo default_bookmarks [] =
@@ -216,15 +215,15 @@ ephy_bookmarks_init_defaults (EphyBookmarks *eb)
for (i = 0; i < n_default_topics; i++)
{
- ephy_bookmarks_add_keyword (eb, default_topics[i]);
+ ephy_bookmarks_add_keyword (eb, _(default_topics[i]));
}
for (i = 0; i < n_default_bookmarks; i++)
{
EphyNode *bmk;
- bmk = ephy_bookmarks_add (eb, default_bookmarks[i].title,
- default_bookmarks[i].location);
+ bmk = ephy_bookmarks_add (eb, _(default_bookmarks[i].title),
+ _(default_bookmarks[i].location));
ephy_toolbars_model_add_bookmark (eb->priv->toolbars_model, FALSE,
ephy_node_get_id (bmk));
}