diff options
-rw-r--r-- | data/ui/epiphany-ui.xml | 1 | ||||
-rw-r--r-- | embed/ephy-web-view.c | 15 | ||||
-rw-r--r-- | embed/ephy-web-view.h | 1 | ||||
-rw-r--r-- | src/ephy-lockdown.c | 1 | ||||
-rw-r--r-- | src/ephy-window.c | 5 | ||||
-rw-r--r-- | src/window-commands.c | 13 | ||||
-rw-r--r-- | src/window-commands.h | 3 |
7 files changed, 0 insertions, 39 deletions
diff --git a/data/ui/epiphany-ui.xml b/data/ui/epiphany-ui.xml index b7b08f2ee..8b3fc493d 100644 --- a/data/ui/epiphany-ui.xml +++ b/data/ui/epiphany-ui.xml @@ -93,7 +93,6 @@ <menuitem name="EditPasteMenu" action="EditPaste"/> <separator name="EditSep3"/> <menuitem name="FilePrintSetupMenu" action="FilePrintSetup"/> - <menuitem name="FilePrintPreviewMenu" action="FilePrintPreview"/> <menuitem name="FilePrintMenu" action="FilePrint"/> <menuitem name="FileSendToMenu" action="FileSendTo"/> <separator name="FileSep4"/> diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 08d2f86ae..638640ba9 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -3304,21 +3304,6 @@ ephy_web_view_run_print_action (EphyWebView *view, GtkPrintOperationAction actio } /** - * ephy_web_view_show_print_preview - * @view: an #EphyWebView - * - * Generates a print preview of the specified view. - * An external viewer is used to display the preview. - * - * Since: 2.30 - **/ -void -ephy_web_view_show_print_preview (EphyWebView *view) -{ - ephy_web_view_run_print_action (view, GTK_PRINT_OPERATION_ACTION_PREVIEW); -} - -/** * ephy_web_view_print * @view: an #EphyWebView * diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h index 7539a9f25..c05461eeb 100644 --- a/embed/ephy-web-view.h +++ b/embed/ephy-web-view.h @@ -164,7 +164,6 @@ 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_show_print_preview (EphyWebView *view); void ephy_web_view_print (EphyWebView *view); void ephy_web_view_set_title (EphyWebView *view, const char *view_title); diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c index 73d9741ec..cc75b1291 100644 --- a/src/ephy-lockdown.c +++ b/src/ephy-lockdown.c @@ -103,7 +103,6 @@ typedef struct { static const BindAction window_actions[] = { { EPHY_PREFS_LOCKDOWN_PRINTING, "FilePrint", "sensitive" }, - { EPHY_PREFS_LOCKDOWN_PRINTING, "FilePrintPreview", "sensitive" }, { EPHY_PREFS_LOCKDOWN_PRINTING, "FilePrintSetup", "sensitive" }, { EPHY_PREFS_LOCKDOWN_PRINT_SETUP, "FilePrintSetup", "sensitive" }, { EPHY_PREFS_LOCKDOWN_COMMAND_LINE, "FilePrintSetup", "sensitive" }, diff --git a/src/ephy-window.c b/src/ephy-window.c index 7b434b4b2..4ff7ce3fc 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -129,9 +129,6 @@ static const GtkActionEntry ephy_menu_entries [] = { { "FilePrintSetup", STOCK_PRINT_SETUP, N_("Page Set_up"), NULL, N_("Setup the page settings for printing"), G_CALLBACK (window_cmd_file_print_setup) }, - { "FilePrintPreview", GTK_STOCK_PRINT_PREVIEW, N_("Print Pre_view"),"<control><shift>P", - N_("Print preview"), - G_CALLBACK (window_cmd_file_print_preview) }, { "FilePrint", GTK_STOCK_PRINT, N_("_Print…"), "<control>P", N_("Print the current page"), G_CALLBACK (window_cmd_file_print) }, @@ -1914,8 +1911,6 @@ sync_tab_load_status (EphyWebView *view, gtk_action_set_sensitive (action, loading); /* disable print while loading, see bug #116344 */ - action = gtk_action_group_get_action (action_group, "FilePrintPreview"); - ephy_action_change_sensitivity_flags (action, SENS_FLAG_LOADING, loading); action = gtk_action_group_get_action (action_group, "FilePrint"); ephy_action_change_sensitivity_flags (action, SENS_FLAG_LOADING, loading); diff --git a/src/window-commands.c b/src/window-commands.c index a9e56f1b0..65dedb5e2 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -85,19 +85,6 @@ window_cmd_file_print_setup (GtkAction *action, } void -window_cmd_file_print_preview (GtkAction *action, - EphyWindow *window) -{ - EphyEmbed *embed; - EphyWebView *view; - - embed = ephy_embed_container_get_active_child - (EPHY_EMBED_CONTAINER (window)); - view = ephy_embed_get_web_view (embed); - ephy_web_view_show_print_preview (view); -} - -void window_cmd_file_print (GtkAction *action, EphyWindow *window) { diff --git a/src/window-commands.h b/src/window-commands.h index e9ee7197f..ddd42a0ab 100644 --- a/src/window-commands.h +++ b/src/window-commands.h @@ -57,9 +57,6 @@ void window_cmd_file_save_as_application (GtkAction *action, void window_cmd_file_print_setup (GtkAction *action, EphyWindow *window); -void window_cmd_file_print_preview (GtkAction *action, - EphyWindow *window); - void window_cmd_file_print (GtkAction *action, EphyWindow *window); |