diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-window.c | 5 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,9 @@ +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-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (set_focus_cb), diff --git a/src/ephy-window.c b/src/ephy-window.c index 714711b99..9e35de257 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -800,7 +800,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) { @@ -810,6 +811,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); |