aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-session.c6
2 files changed, 7 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 7404ca91b..e3e6d3efc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2006-02-10 Peter Harvey <peter.a.harvey@gmail.com>
* src/bookmarks/ephy-bookmarks-menu.c
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;
}