diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-07-11 02:45:23 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-07-11 02:45:23 +0800 |
commit | e3745955787160572f5bc2feb46f293c0f96894f (patch) | |
tree | 59614375b33eadad3f283fb31578d4360b788c6e /embed/ephy-embed.c | |
parent | b26c1e1243cb943f67fc42b646862919238501fc (diff) | |
download | gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.tar gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.tar.gz gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.tar.bz2 gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.tar.lz gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.tar.xz gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.tar.zst gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.zip |
Make print and print setup go trough nsIPrintingPromptService (backported
2004-07-10 Christian Persch <chpe@cvs.gnome.org>
* configure.in:
* data/glade/print.glade:
* embed/ephy-embed-single.c: (ephy_embed_single_print_setup):
* embed/ephy-embed-single.h:
* 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/MozillaPrivate.cpp:
* embed/mozilla/MozillaPrivate.h:
* embed/mozilla/PrintingPromptService.cpp:
* embed/mozilla/mozilla-embed-single.cpp:
* embed/mozilla/mozilla-embed.cpp:
* embed/print-dialog.c: (ephy_print_get_print_info),
(ephy_print_dialog_response_cb),
(ephy_print_setup_dialog_help_button_cb), (ephy_print_dialog_new):
* embed/print-dialog.h:
* src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize),
(ephy_shell_get_prefs_dialog):
* src/ephy-shell.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_setup),
(window_cmd_file_print_preview), (window_cmd_file_print):
Make print and print setup go trough nsIPrintingPromptService
(backported from HEAD).
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r-- | embed/ephy-embed.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index ce7c74013..aa5acc242 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -379,18 +379,18 @@ ephy_embed_get_encoding_info (EphyEmbed *embed) } void -ephy_embed_print (EphyEmbed *embed, - EmbedPrintInfo *info) +ephy_embed_print (EphyEmbed *embed) { EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed); - iface->print (embed, info); + iface->print (embed); } void -ephy_embed_print_preview_close (EphyEmbed *embed) +ephy_embed_set_print_preview_mode (EphyEmbed *embed, + gboolean preview_mode) { EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed); - iface->print_preview_close (embed); + iface->set_print_preview_mode (embed, preview_mode); } int |