aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-09-17 00:08:52 +0800
committerChristian Persch <chpe@src.gnome.org>2003-09-17 00:08:52 +0800
commit0c4624969e1518cf7d69e93b0b05e3a15af7fe15 (patch)
tree857a1cbd4304483e6b5df63ed918a2f0d0e66259
parentfb14e723bdf09608a4bb5946aac1f8471c69b356 (diff)
downloadgsoc2013-epiphany-0c4624969e1518cf7d69e93b0b05e3a15af7fe15.tar
gsoc2013-epiphany-0c4624969e1518cf7d69e93b0b05e3a15af7fe15.tar.gz
gsoc2013-epiphany-0c4624969e1518cf7d69e93b0b05e3a15af7fe15.tar.bz2
gsoc2013-epiphany-0c4624969e1518cf7d69e93b0b05e3a15af7fe15.tar.lz
gsoc2013-epiphany-0c4624969e1518cf7d69e93b0b05e3a15af7fe15.tar.xz
gsoc2013-epiphany-0c4624969e1518cf7d69e93b0b05e3a15af7fe15.tar.zst
gsoc2013-epiphany-0c4624969e1518cf7d69e93b0b05e3a15af7fe15.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.
-rw-r--r--ChangeLog7
-rw-r--r--src/bookmarks/ephy-bookmarks.c7
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 1222c6067..eb3cf6893 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2003-09-15 Marco Pesenti Gritti <marco@gnome.org>
* configure.in:
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 036113673..3da021198 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -64,7 +64,6 @@ typedef struct
{
const char *title;
const char *location;
- const char *smart_url;
} EphyBookmarksBookmarkInfo;
static const EphyBookmarksBookmarkInfo default_bookmarks [] =
@@ -214,15 +213,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));
}