From 4f6da94c96d77a296e185c0fcf35ca74ddeee3a2 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sat, 3 Sep 2011 18:21:38 +0200 Subject: ephy-web-app-utils: move the web app creation code here --- src/window-commands.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') 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 #include @@ -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))); -- cgit v1.2.3