From b9f9bf1a0763492f8bf41b8856bbd1149c5871a9 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Tue, 18 Jan 2011 11:10:11 -0500 Subject: ephy-download: add the new EphyDownload object EphyDownload is a wrapper object around WebKitDownload that handles common behavior in downloads: auto-destination, default action for the MIME type. It can be used to wrap a WebKitDownload coming from a WebKitView or to download a url: ephy_download_new_for_uri and ephy_download_new_for_download are provided. Its lifetime is not automagic like EphyEmbedPersist, so you have to unref it when you no longer need it. This new object replaces EphyEmbedPersist and enables us to use a single codepath for downloads in all Epiphany. Bug #618443 --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index ad6bf9ebc..dd9a0e13f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -264,10 +264,10 @@ MAINTAINERCLEANFILES = $(stamp_files) $(BUILT_SOURCES) if HAVE_INTROSPECTION EPHY_GIR_H_FILES = \ + $(top_srcdir)/embed/ephy-download.h \ $(top_srcdir)/embed/ephy-embed.h \ $(top_srcdir)/embed/ephy-embed-container.h \ $(top_srcdir)/embed/ephy-embed-event.h \ - $(top_srcdir)/embed/ephy-embed-persist.h \ $(top_srcdir)/embed/ephy-embed-shell.h \ $(top_srcdir)/embed/ephy-embed-single.h \ $(top_srcdir)/embed/ephy-favicon-cache.h \ @@ -294,10 +294,10 @@ EPHY_GIR_H_FILES = \ $(NULL) EPHY_GIR_C_FILES = \ + $(top_srcdir)/embed/ephy-download.c \ $(top_srcdir)/embed/ephy-embed.c \ $(top_srcdir)/embed/ephy-embed-container.c \ $(top_srcdir)/embed/ephy-embed-event.c \ - $(top_srcdir)/embed/ephy-embed-persist.c \ $(top_srcdir)/embed/ephy-embed-shell.c \ $(top_srcdir)/embed/ephy-embed-single.c \ $(top_srcdir)/embed/ephy-favicon-cache.c \ -- cgit