diff options
author | Jose Millan Soto <jmillan@igalia.com> | 2010-02-09 01:58:53 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2010-02-09 04:37:35 +0800 |
commit | 9dd27664308a8dcd007d3ff17b55b7f5c93cdf62 (patch) | |
tree | 8a0cffada5ed97bfadbc18d6809d0d41180dd7b0 /embed/ephy-web-view.h | |
parent | 4d62a3fca6eaab2d1f8c0af29f230012f99a4dd1 (diff) | |
download | gsoc2013-epiphany-9dd27664308a8dcd007d3ff17b55b7f5c93cdf62.tar.gz gsoc2013-epiphany-9dd27664308a8dcd007d3ff17b55b7f5c93cdf62.tar.zst gsoc2013-epiphany-9dd27664308a8dcd007d3ff17b55b7f5c93cdf62.zip |
Implemented print preview
Created function ephy_web_view_show_print_preview, which replaces the
old implementation of print preview, which was not working now.
Preview is displayed in an external viewer, so print preview mode does
no longer exist.
All functions of the old implementation of print preview have been
removed, PPViewToolbar was removed also. Also, as EphyWebView has no
more a print preview mode, all functions which checked if a view was
in print preview mode were modified.
Bug #609021
Diffstat (limited to 'embed/ephy-web-view.h')
-rw-r--r-- | embed/ephy-web-view.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h index 37852bccd..57dde0bff 100644 --- a/embed/ephy-web-view.h +++ b/embed/ephy-web-view.h @@ -83,15 +83,6 @@ typedef enum typedef enum { - EPHY_WEB_VIEW_PRINTPREVIEW_GOTO_PAGENUM = 0, - EPHY_WEB_VIEW_PRINTPREVIEW_PREV_PAGE = 1, - EPHY_WEB_VIEW_PRINTPREVIEW_NEXT_PAGE = 2, - EPHY_WEB_VIEW_PRINTPREVIEW_HOME = 3, - EPHY_WEB_VIEW_PRINTPREVIEW_END = 4 -} EphyWebViewPrintPreviewNavType; - -typedef enum -{ EPHY_WEB_VIEW_STATE_IS_UNKNOWN, EPHY_WEB_VIEW_STATE_IS_INSECURE, EPHY_WEB_VIEW_STATE_IS_BROKEN, @@ -191,12 +182,7 @@ void ephy_web_view_get_security_level (EphyWebView EphyWebViewSecurityLevel *level, char **description); void ephy_web_view_show_page_certificate (EphyWebView *view); -void ephy_web_view_set_print_preview_mode (EphyWebView *view, - gboolean preview_mode); -int ephy_web_view_print_preview_n_pages (EphyWebView *view); -void ephy_web_view_print_preview_navigate (EphyWebView *view, - EphyWebViewPrintPreviewNavType type, - int page); +void ephy_web_view_show_print_preview (EphyWebView *view); GSList * ephy_web_view_get_go_up_list (EphyWebView *view); void ephy_web_view_set_title (EphyWebView *view, const char *view_title); |