diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2012-01-18 23:17:53 +0800 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2012-01-18 23:40:10 +0800 |
commit | 3cc93b5ec64d97739cf5065e19b31759d1495b9e (patch) | |
tree | 573db2c6ec58b83bbeeb8db2659ac5ab0b569c43 /src/window-commands.c | |
parent | 066acbea3d32c04f15b6754310c8ba422f7c2f36 (diff) | |
download | gsoc2013-epiphany-3cc93b5ec64d97739cf5065e19b31759d1495b9e.tar gsoc2013-epiphany-3cc93b5ec64d97739cf5065e19b31759d1495b9e.tar.gz gsoc2013-epiphany-3cc93b5ec64d97739cf5065e19b31759d1495b9e.tar.bz2 gsoc2013-epiphany-3cc93b5ec64d97739cf5065e19b31759d1495b9e.tar.lz gsoc2013-epiphany-3cc93b5ec64d97739cf5065e19b31759d1495b9e.tar.xz gsoc2013-epiphany-3cc93b5ec64d97739cf5065e19b31759d1495b9e.tar.zst gsoc2013-epiphany-3cc93b5ec64d97739cf5065e19b31759d1495b9e.zip |
Remove Print Setup item from the super menu and embed it into print dialog
Diffstat (limited to 'src/window-commands.c')
-rw-r--r-- | src/window-commands.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index 65dedb5e2..f2539dd9c 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -59,31 +59,6 @@ #include <string.h> #include <webkit/webkit.h> -static void -page_setup_done_cb (GtkPageSetup *setup, - EphyEmbedShell *shell) -{ - if (setup != NULL) - { - ephy_embed_shell_set_page_setup (shell, setup); - } -} - -void -window_cmd_file_print_setup (GtkAction *action, - EphyWindow *window) -{ - EphyEmbedShell *shell; - - shell = ephy_embed_shell_get_default (); - gtk_print_run_page_setup_dialog_async - (GTK_WINDOW (window), - ephy_embed_shell_get_page_setup (shell), - ephy_embed_shell_get_print_settings (shell), - (GtkPageSetupDoneFunc) page_setup_done_cb, - shell); -} - void window_cmd_file_print (GtkAction *action, EphyWindow *window) |