aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-window-commands.c')
-rw-r--r--shell/e-shell-window-commands.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/e-shell-window-commands.c b/shell/e-shell-window-commands.c
index 010e229775..03ee4cdae5 100644
--- a/shell/e-shell-window-commands.c
+++ b/shell/e-shell-window-commands.c
@@ -44,6 +44,7 @@
#include "e-util/e-icon-factory.h"
#include "e-util/e-dialog-utils.h"
#include "e-util/e-error.h"
+#include "e-util/e-print.h"
#include "e-util/e-util-private.h"
#include "e-shell-window-commands.h"
@@ -96,6 +97,14 @@ command_import (BonoboUIComponent *uih,
}
static void
+command_page_setup (BonoboUIComponent *uih,
+ EShellWindow *window,
+ const char *path)
+{
+ e_print_run_page_setup_dialog (GTK_WINDOW (window));
+}
+
+static void
command_close (BonoboUIComponent *uih,
EShellWindow *window,
const char *path)
@@ -717,6 +726,7 @@ command_pilot_settings (BonoboUIComponent *uih,
static BonoboUIVerb file_verbs [] = {
BONOBO_UI_VERB ("FileImporter", (BonoboUIVerbFn) command_import),
+ BONOBO_UI_VERB ("FilePageSetup", (BonoboUIVerbFn) command_page_setup),
BONOBO_UI_VERB ("FileClose", (BonoboUIVerbFn) command_close),
BONOBO_UI_VERB ("FileExit", (BonoboUIVerbFn) command_quit),