diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-window.c | 5 |
2 files changed, 10 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2006-01-08 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-window.c: (ephy_window_delete_event): + + Exit ppv mode when clicking the window close button. Bug #326136. + +2006-01-08 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/ContentHandler.cpp: Make ESC cancel the content handler dialogue. Bug #325811. diff --git a/src/ephy-window.c b/src/ephy-window.c index 7f49315c8..2d6dbd37a 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -862,7 +862,8 @@ ephy_window_delete_event (GtkWidget *widget, gboolean modified = FALSE; /* Workaround a crash when closing a window while in print preview mode. See - * mozilla bug #241809 + * mozilla bug #241809. / + * Go back to normal mode instead of closing, see bug #326136. */ if (priv->ppv_mode) { @@ -872,6 +873,8 @@ ephy_window_delete_event (GtkWidget *widget, ephy_embed_set_print_preview_mode (embed, FALSE); ephy_window_set_print_preview (window, FALSE); + + return TRUE; } tabs = ephy_window_get_tabs (window); |