aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-web-app-utils.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-05-09 18:27:02 +0800
committerXan Lopez <xan@igalia.com>2012-05-09 18:27:02 +0800
commita025e7d7a50df9f7ebea6aaf9c86ca40ef03440e (patch)
tree3513963be76379f5b62b20a84588de2e472286de /lib/ephy-web-app-utils.c
parentdd510ece07f5e01debec5cd1605913cf7dec568d (diff)
downloadgsoc2013-epiphany-a025e7d7a50df9f7ebea6aaf9c86ca40ef03440e.tar.gz
gsoc2013-epiphany-a025e7d7a50df9f7ebea6aaf9c86ca40ef03440e.tar.zst
gsoc2013-epiphany-a025e7d7a50df9f7ebea6aaf9c86ca40ef03440e.zip
ephy-web-app-utils: remove dummy toolbar XML file
We don't use XML files to create our toolbars anymore, so this is not needed.
Diffstat (limited to 'lib/ephy-web-app-utils.c')
-rw-r--r--lib/ephy-web-app-utils.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/ephy-web-app-utils.c b/lib/ephy-web-app-utils.c
index 8c5d65366..023736b8e 100644
--- a/lib/ephy-web-app-utils.c
+++ b/lib/ephy-web-app-utils.c
@@ -168,18 +168,6 @@ out:
return return_value;
}
-#define EPHY_WEB_APP_TOOLBAR "<?xml version=\"1.0\"?>" \
- "<toolbars version=\"1.1\">" \
- " <toolbar name=\"DefaultToolbar\" hidden=\"true\" editable=\"false\">" \
- " <toolitem name=\"NavigationBack\"/>" \
- " <toolitem name=\"NavigationForward\"/>" \
- " <toolitem name=\"ViewReload\"/>" \
- " <toolitem name=\"ViewCancel\"/>" \
- " </toolbar>" \
- "</toolbars>"
-
-#define EPHY_TOOLBARS_XML_FILE "epiphany-toolbars-3.xml"
-
static char *
create_desktop_file (const char *address,
const char *profile_dir,
@@ -331,14 +319,9 @@ ephy_web_application_create (const char *address, const char *name, GdkPixbuf *i
}
/* Things we need in a WebApp's profile:
- - Toolbar layout
- Our own cookies file, copying the relevant cookies for the
app's domain.
*/
- toolbar_path = g_build_filename (profile_dir, EPHY_TOOLBARS_XML_FILE, NULL);
- if (!g_file_set_contents (toolbar_path, EPHY_WEB_APP_TOOLBAR, -1, NULL))
- goto out;
-
create_cookie_jar_for_domain (address, profile_dir);
/* Create the deskop file. */