From 36ad80414746a470d3f64849266817c58fef2344 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 25 Jun 2004 11:31:22 +0000 Subject: Simplify print code. Now there is only one case to deal with, the mozilla 2004-06-25 Marco Pesenti Gritti * embed/ephy-embed.c: (ephy_embed_print), (ephy_embed_set_print_preview_mode): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_response_cb), (ephy_print_dialog_new): * embed/print-dialog.h: * src/ephy-window.c: (ephy_window_delete_event_cb), (ephy_window_finalize), (update_embed_dialogs), (ephy_window_find): * src/ppview-toolbar.c: (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_file_print_preview), (window_cmd_file_print): Simplify print code. Now there is only one case to deal with, the mozilla prompt dialog. This should help with xprint. --- src/ppview-toolbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ppview-toolbar.c') diff --git a/src/ppview-toolbar.c b/src/ppview-toolbar.c index 70603ea67..9c3b70c64 100755 --- a/src/ppview-toolbar.c +++ b/src/ppview-toolbar.c @@ -392,6 +392,6 @@ toolbar_cmd_ppv_close (GtkUIManager *merge, ephy_window_set_print_preview (window, FALSE); - ephy_embed_print_preview_close (embed); + ephy_embed_set_print_preview_mode (embed, FALSE); } -- cgit