aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-02-12 07:32:03 +0800
committerChristian Persch <chpe@src.gnome.org>2006-02-12 07:32:03 +0800
commit4f4cffa1ed607053ac716b5c5fda806a7ead288e (patch)
treedb9cec6c153074a0ca0bbb94c6d71317c60d7d81 /src
parent9c74a1358ff0d7d7514faa44939179ba6a6eff79 (diff)
downloadgsoc2013-epiphany-4f4cffa1ed607053ac716b5c5fda806a7ead288e.tar.gz
gsoc2013-epiphany-4f4cffa1ed607053ac716b5c5fda806a7ead288e.tar.zst
gsoc2013-epiphany-4f4cffa1ed607053ac716b5c5fda806a7ead288e.zip
Reqeust interaction with the client when there are unfinished downloads.
2006-02-12 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (save_yourself_cb): Reqeust interaction with the client when there are unfinished downloads.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-session.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 827435df4..438586e79 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -138,8 +138,6 @@ ephy_session_get_type (void)
/* Gnome session client */
-#if 0
-
typedef struct
{
GtkWidget *dialog;
@@ -327,8 +325,6 @@ confirm_shutdown_cb (GnomeClient *client,
gtk_window_present (GTK_WINDOW (dialog));
}
-#endif /* if 0 */
-
static gboolean
save_yourself_cb (GnomeClient *client,
int phase,
@@ -363,7 +359,6 @@ save_yourself_cb (GnomeClient *client,
g_free (save_to);
-#if 0
/* If we're shutting down, check if there are downloads
* remaining, since they can't be restarted.
*/
@@ -375,7 +370,6 @@ save_yourself_cb (GnomeClient *client,
(GnomeInteractFunction) confirm_shutdown_cb,
session);
}
-#endif
return TRUE;
}