aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-shell.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-02-03 01:27:41 +0800
committerChristian Persch <chpe@src.gnome.org>2006-02-03 01:27:41 +0800
commit02459287792457cac98e02641a7d2aaad303b88d (patch)
treea0a338ddc3430959def7949b1623fbc63ec45b1b /embed/ephy-embed-shell.c
parent2d89547a741b0b2991c36e4ae86a9cd7cc36985c (diff)
downloadgsoc2013-epiphany-02459287792457cac98e02641a7d2aaad303b88d.tar.gz
gsoc2013-epiphany-02459287792457cac98e02641a7d2aaad303b88d.tar.zst
gsoc2013-epiphany-02459287792457cac98e02641a7d2aaad303b88d.zip
On session logout, check if there are downloads pending (since they're not
2006-02-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/downloader-view.h: * embed/ephy-embed-shell.c: (ephy_embed_shell_get_downloader_view_nocreate): * embed/ephy-embed-shell.h: * lib/ephy-gui.c: (ephy_gui_message_dialog_get_content_box): * lib/ephy-gui.h: * src/ephy-session.c: (confirm_shutdown_dialog_update_timeout_label), (confirm_shutdown_dialog_tick_cb), (confirm_shutdown_dialog_response_cb), (confirm_shutdown_dialog_accept_cb), (confirm_shutdown_dialog_weak_ref_cb), (confirm_shutdown_cb), (save_yourself_cb): On session logout, check if there are downloads pending (since they're not resumable, bug #128048). #if 0'd for now.
Diffstat (limited to 'embed/ephy-embed-shell.c')
-rw-r--r--embed/ephy-embed-shell.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 32dd8e1bc..6474fb2ed 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -202,6 +202,14 @@ ephy_embed_shell_get_downloader_view (EphyEmbedShell *shell)
return G_OBJECT (shell->priv->downloader_view);
}
+GObject *
+ephy_embed_shell_get_downloader_view_nocreate (EphyEmbedShell *shell)
+{
+ g_return_val_if_fail (EPHY_IS_EMBED_SHELL (shell), NULL);
+
+ return (GObject *) shell->priv->downloader_view;
+}
+
static GObject *
impl_get_embed_single (EphyEmbedShell *shell)
{