aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-12-12 20:09:39 +0800
committerXan Lopez <xan@igalia.com>2012-12-12 20:09:39 +0800
commitceab3ce08927ec45bb880371b7f31041a5192851 (patch)
tree8ab7c7d77d071f21e12954e89a5fefcacbcbac60 /embed
parent5660617413c37eb397a50361b6ca5bdd250b5be5 (diff)
downloadgsoc2013-epiphany-ceab3ce08927ec45bb880371b7f31041a5192851.tar
gsoc2013-epiphany-ceab3ce08927ec45bb880371b7f31041a5192851.tar.gz
gsoc2013-epiphany-ceab3ce08927ec45bb880371b7f31041a5192851.tar.bz2
gsoc2013-epiphany-ceab3ce08927ec45bb880371b7f31041a5192851.tar.lz
gsoc2013-epiphany-ceab3ce08927ec45bb880371b7f31041a5192851.tar.xz
gsoc2013-epiphany-ceab3ce08927ec45bb880371b7f31041a5192851.tar.zst
gsoc2013-epiphany-ceab3ce08927ec45bb880371b7f31041a5192851.zip
Define the names of the history and bookmarks files in just one place
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-shell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 9821d4f11..ea45a1433 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -31,6 +31,7 @@
#include "ephy-encodings.h"
#include "ephy-file-helpers.h"
#include "ephy-history-service.h"
+#include "ephy-profile-utils.h"
#include "ephy-snapshot-service.h"
#include <glib/gi18n.h>
@@ -124,7 +125,7 @@ ephy_embed_shell_get_global_history_service (EphyEmbedShell *shell)
if (shell->priv->global_history_service == NULL) {
char *filename;
- filename = g_build_filename (ephy_dot_dir (), "ephy-history.db", NULL);
+ filename = g_build_filename (ephy_dot_dir (), EPHY_HISTORY_FILE, NULL);
shell->priv->global_history_service = ephy_history_service_new (filename);
g_free (filename);
g_return_val_if_fail (shell->priv->global_history_service, NULL);