diff options
Diffstat (limited to 'src/window-commands.c')
-rw-r--r-- | src/window-commands.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index 84294dfc8..74d7779f8 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -66,31 +66,11 @@ window_cmd_edit_find (EggAction *action, ephy_dialog_show (dialog); } -static void -print_dialog_preview_cb (PrintDialog *dialog, - EphyWindow *window) -{ - ephy_window_set_chrome (window, EMBED_CHROME_PPVIEWTOOLBARON); -} - void window_cmd_file_print (EggAction *action, EphyWindow *window) { - EphyDialog *dialog; - EphyEmbed *embed; - - embed = ephy_window_get_active_embed (window); - g_return_if_fail (embed != NULL); - - dialog = print_dialog_new_with_parent (GTK_WIDGET(window), - embed, NULL); - g_signal_connect (G_OBJECT(dialog), - "preview", - G_CALLBACK (print_dialog_preview_cb), - window); - ephy_dialog_set_modal (dialog, TRUE); - ephy_dialog_show (dialog); + ephy_window_print (window); } void |