summaryrefslogtreecommitdiff
path: root/embed/ephy-embed-shell.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2014-01-09 13:27:40 +0100
committerCarlos Garcia Campos <carlosgc@gnome.org>2014-01-13 17:34:53 +0100
commitd7941bf07f72af1778cdcac66652d1e583620844 (patch)
tree7c6b1eb63deb78c5afeb618903bd5eaa8b71fba2 /embed/ephy-embed-shell.h
parentb84a86d5989b16092856ae3a24a3f8ab917840dd (diff)
downloadepiphany-d7941bf07f72af1778cdcac66652d1e583620844.tar.gz
downloads: Do not add automatically the downloads to the UI when they are created
This allows the creator to decide whether to add the download to the UI or not and when. The downloads are no longer handled by the EphyEmbedShell making clear who takes the ownership. Downloads are now explicitly added to a particular Ephywindow, instead of all the windows be notified by a download and deciding whether such download belongs to that particular window or not.
Diffstat (limited to 'embed/ephy-embed-shell.h')
-rw-r--r--embed/ephy-embed-shell.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/embed/ephy-embed-shell.h b/embed/ephy-embed-shell.h
index e73d3f1b3..02016c819 100644
--- a/embed/ephy-embed-shell.h
+++ b/embed/ephy-embed-shell.h
@@ -28,8 +28,6 @@
#include <gtk/gtk.h>
-#include "ephy-download.h"
-
G_BEGIN_DECLS
#define EPHY_TYPE_EMBED_SHELL (ephy_embed_shell_get_type ())
@@ -68,9 +66,6 @@ struct _EphyEmbedShellClass
{
GtkApplicationClass parent_class;
- void (* download_added) (EphyEmbedShell *shell, EphyDownload *download);
- void (* download_removed) (EphyEmbedShell *shell, EphyDownload *download);
-
void (* prepare_close) (EphyEmbedShell *shell);
void (* restored_window) (EphyEmbedShell *shell);
@@ -88,11 +83,6 @@ GtkPageSetup *ephy_embed_shell_get_page_setup (EphyEmbedShell
void ephy_embed_shell_set_print_settings (EphyEmbedShell *shell,
GtkPrintSettings *settings);
GtkPrintSettings *ephy_embed_shell_get_print_settings (EphyEmbedShell *shell);
-GList *ephy_embed_shell_get_downloads (EphyEmbedShell *shell);
-void ephy_embed_shell_add_download (EphyEmbedShell *shell,
- EphyDownload *download);
-void ephy_embed_shell_remove_download (EphyEmbedShell *shell,
- EphyDownload *download);
EphyEmbedShellMode ephy_embed_shell_get_mode (EphyEmbedShell *shell);
gboolean ephy_embed_shell_launch_handler (EphyEmbedShell *shell,
GFile *file,