From 02459287792457cac98e02641a7d2aaad303b88d Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 2 Feb 2006 17:27:41 +0000 Subject: On session logout, check if there are downloads pending (since they're not 2006-02-02 Christian Persch * 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. --- embed/ephy-embed-shell.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'embed/ephy-embed-shell.c') 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) { -- cgit v1.2.3