aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-09-04 00:21:38 +0800
committerXan Lopez <xlopez@igalia.com>2011-09-04 00:21:38 +0800
commit4f6da94c96d77a296e185c0fcf35ca74ddeee3a2 (patch)
tree147b536d62e8bfb92988380aef475f5a9f216487 /src
parent20b38fa45d7b9f3e4c302d0cb0090f72ae56bb78 (diff)
downloadgsoc2013-epiphany-4f6da94c96d77a296e185c0fcf35ca74ddeee3a2.tar
gsoc2013-epiphany-4f6da94c96d77a296e185c0fcf35ca74ddeee3a2.tar.gz
gsoc2013-epiphany-4f6da94c96d77a296e185c0fcf35ca74ddeee3a2.tar.bz2
gsoc2013-epiphany-4f6da94c96d77a296e185c0fcf35ca74ddeee3a2.tar.lz
gsoc2013-epiphany-4f6da94c96d77a296e185c0fcf35ca74ddeee3a2.tar.xz
gsoc2013-epiphany-4f6da94c96d77a296e185c0fcf35ca74ddeee3a2.tar.zst
gsoc2013-epiphany-4f6da94c96d77a296e185c0fcf35ca74ddeee3a2.zip
ephy-web-app-utils: move the web app creation code here
Diffstat (limited to 'src')
-rw-r--r--src/window-commands.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 90a7f51aa..bb3fcc0b5 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -51,6 +51,7 @@
#include "ephy-stock-icons.h"
#include "ephy-string.h"
#include "pdm-dialog.h"
+#include "ephy-web-app-utils.h"
#include <string.h>
#include <glib.h>
@@ -578,9 +579,9 @@ window_cmd_file_save_as_application (GtkAction *action,
NotifyNotification *notification;
/* Create Web Application, including a new profile and .desktop file. */
- desktop_file = ephy_web_view_create_web_application (view,
- gtk_entry_get_text (GTK_ENTRY (data->entry)),
- gtk_image_get_pixbuf (GTK_IMAGE (data->image)));
+ desktop_file = ephy_web_application_create (view,
+ gtk_entry_get_text (GTK_ENTRY (data->entry)),
+ gtk_image_get_pixbuf (GTK_IMAGE (data->image)));
message = g_strdup_printf (_("The application '%s' is ready to be used"),
gtk_entry_get_text (GTK_ENTRY (data->entry)));