aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-07-06 22:19:16 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-07-06 22:19:16 +0800
commit4e4d7e38f19498e1840f22e3aa42335ccea5ec45 (patch)
tree23f545e45f27c594a81bb108a388d99d13026333 /ui
parent8ee43fc1fb4c9f792116c5502da61cd00d112610 (diff)
downloadgsoc2013-evolution-4e4d7e38f19498e1840f22e3aa42335ccea5ec45.tar.gz
gsoc2013-evolution-4e4d7e38f19498e1840f22e3aa42335ccea5ec45.tar.zst
gsoc2013-evolution-4e4d7e38f19498e1840f22e3aa42335ccea5ec45.zip
** Fixes bug #446894
2007-07-06 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #446894 * ui/evolution.xml: Add a filepagesetup command, and a corresponding menu item within the print place holder. net result is to add a "file -> page setup" menu item to all components, just above the print menu items. * shell/e-shell-window-commands.c (command_page_setup): Callback for new FilePageSetup verb. * mail/em-format-html-print.c: Use new gtk_html_print_operation_run() function in GtkHTML. * e-util/e-print.c (load_page_setup): Extract GtkPageSetup properties from a GtkPrintSettings object. * e-util/e-print.c (save_page_setup): Merge GtkPageSetup properties into a GtkPrintSettings object. * e-util/e-print.[ch] (e_print_run_page_setup_dialog): New function runs a preconfigured Page Setup dialog and saves the configuration to GConf (/apps/evolution/shell/printing). svn path=/trunk/; revision=33762
Diffstat (limited to 'ui')
-rw-r--r--ui/ChangeLog9
-rw-r--r--ui/evolution.xml6
2 files changed, 14 insertions, 1 deletions
diff --git a/ui/ChangeLog b/ui/ChangeLog
index cdaadd7420..e001abd2cf 100644
--- a/ui/ChangeLog
+++ b/ui/ChangeLog
@@ -1,3 +1,12 @@
+2007-07-06 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #446894
+
+ * evolution.xml:
+ Add a FilePageSetup command, and a corresponding menu item within
+ the Print place holder. Net result is to add a "File -> Page Setup"
+ menu item to all components, just above the print menu items.
+
2007-05-15 Srinivasa Ragavan <sragavan@novell.com>
* evolution-mail-global.xml: Menu for sync for offline
diff --git a/ui/evolution.xml b/ui/evolution.xml
index b6e46987b6..f50d74c2ac 100644
--- a/ui/evolution.xml
+++ b/ui/evolution.xml
@@ -4,6 +4,8 @@
_tip="Create a new window displaying this folder"
accel="*Control**Shift*w"/>
+ <cmd name="FilePageSetup" _label="Page Set_up..." _tip="Set up the page settings for your current printer"/>
+
<cmd name="FileClose" _label="_Close Window" _tip="Close this window"
pixtype="stock" pixname="gtk-close" accel="*Control*w"/>
@@ -76,7 +78,9 @@
_tip="Import data from other programs"
pixtype="pixbuf"/>
- <placeholder name="Print" delimit="top"/>
+ <placeholder name="Print" delimit="top">
+ <menuitem name="FilePageSetup" verb=""/>
+ </placeholder>
<!--
<placeholder name="ComponentPlaceholder"/>