diff options
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/ChangeLog | 7 | ||||
| -rw-r--r-- | shell/e-shell-window-commands.c | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 63356b1497..aa968b4a01 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,10 @@ +2007-07-06 Matthew Barnes <mbarnes@redhat.com> + + ** Fixes part of bug #446894 + + * e-shell-window-commands.c (command_page_setup): + Callback for new FilePageSetup verb. + 2007-07-03 Srinivasa Ragavan <sragavan@novell.com> ** Added a hook event after the shell is started. 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), |
